forked from TrueCloudLab/frostfs-node
[#516] node: Do not bootstrap if node is online candidate
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
3b66f98f27
commit
b2487e8cc5
3 changed files with 16 additions and 7 deletions
|
@ -337,7 +337,8 @@ type internals struct {
|
|||
apiVersion version.Version
|
||||
healthStatus *atomic.Int32
|
||||
// is node under maintenance
|
||||
isMaintenance atomic.Bool
|
||||
isMaintenance atomic.Bool
|
||||
isOnlineCandidate bool
|
||||
}
|
||||
|
||||
// starts node's maintenance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue