Do not bootstrap if node is online candidate #525
No reviewers
TrueCloudLab/storage-core-developers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#525
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "dstepanov-yadro/frostfs-node:fix/bootstrap-single"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #516
@ -292,2 +296,4 @@
}
func (c *cfg) isOnlineCandidate() bool {
candidates, err := c.cfgNetmap.wrapper.GetCandidates()
Would it be easy to avoid making the second query (
IsMaintenance
already does this)?fixed
@ -493,4 +493,6 @@ const (
ShardDeleteCantDeleteFromWriteCache = "can't delete object from write cache"
FrostFSNodeNodeIsUnderMaintenanceSkipInitialBootstrap = "the node is under maintenance, skip initial bootstrap"
EngineCouldNotChangeShardModeToDisabled = "could not change shard mode to disabled"
NetmapFailedToGetCandidateListAssumeNotInList = "failed to get candidate list, assume that current node is not in candidate list"
Maybe replace
assume that current node is not in candidate list
withbootstrap query will be performed
?msg removed
2fc9f02050
tod8a625053a
d8a625053a
to13c55f5340