Better log and status messages for Paxos observer
This commit is contained in:
1 parent
0c59de40e7
commit
c12a52d20e
4 files changed
+11
-2
No files matched your search
+3
-1
@@ -887,8 +887,10 @@ func (alloc *Allocator) loadPersistedData() {
|
||||
if len(alloc.seed) != 0 {
|
||||
alloc.infof("Initialising with supplied IPAM seed")
|
||||
alloc.createRing(alloc.seed)
|
||||
} else {
|
||||
} else if alloc.paxos.IsElector() {
|
||||
alloc.infof("Initialising via deferred consensus")
|
||||
} else {
|
||||
alloc.infof("Initialising as observer - awaiting IPAM data from another peer")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user