Do not bootstrap if node is online candidate #525
No reviewers
TrueCloudLab/storage-core-developers
Labels
No Label
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 Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#525
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "dstepanov-yadro/frostfs-node:fix/bootstrap-single"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. 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