wait a bit before getting the next volume id if the leader is recently elected
This commit is contained in:
@@ -55,6 +55,8 @@ type Topology struct {
|
||||
|
||||
UuidAccessLock sync.RWMutex
|
||||
UuidMap map[string][]string
|
||||
|
||||
LastLeaderChangeTime time.Time
|
||||
}
|
||||
|
||||
func NewTopology(id string, seq sequence.Sequencer, volumeSizeLimit uint64, pulse int, replicationAsMin bool) *Topology {
|
||||
|
||||
Reference in New Issue
Block a user