Node send bootstrap request every reboot even we are already ONLINE #691
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 project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#691
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Related to #516
Expected Behavior
Do not bootstrap if we are already ONLINE.
Current Behavior
Node send bootstrap request every reboot even we are already ONLINE.
Steps to Reproduce (for bugs)
Regression
No
Version
Your Environment
Cloud
It is a complete duplicate of #516, no?
No, because #516 is an enhancement and I cannot re-open it, but this is bug.
The initial optimization proved to be too error-prone:
Well, the problem is that "OFFLINE" is actually just a graceful removal, so when we start we must send bootstrap request.
When we start why don't we keep OFFLINE state and not send bootstrap request?
Then customer need to manually change the status from OFFLINE to ONLINE.
Do we agree this is a problematic behaviour? The node should start and "just work".
The initial solution was for GAS problems, I believe we could solve THAT first via some other way (like saving last bootstrap epoch in some persistent state?)