Port fixes for maintenance mode to support/v0.38 #1113

Merged
fyrchik merged 4 commits from fyrchik/frostfs-node:maintenance-fixes into support/v0.38 2024-05-02 11:42:11 +00:00
Owner

Port of #1110

Port of #1110
fyrchik added 4 commits 2024-05-02 07:32:11 +00:00
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
It is used in "handler" only once, what we really do is set the
variable. And we have another "local" node info in `cfgNodeInfo`, this
one is not really local (node info), more like (local node) info, so use
setContractNodeInfo to distinguish it from the local view on the node
info.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
[#1110] node: Use single handler for new epoch event
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 2m15s
DCO action / DCO (pull_request) Successful in 2m11s
Build / Build Components (1.21) (pull_request) Successful in 3m50s
Build / Build Components (1.20) (pull_request) Successful in 4m29s
Tests and linters / Staticcheck (pull_request) Successful in 6m28s
Tests and linters / Lint (pull_request) Successful in 8m21s
Tests and linters / gopls check (pull_request) Successful in 8m18s
Tests and linters / Tests (1.20) (pull_request) Successful in 4m35s
Tests and linters / Tests (1.21) (pull_request) Successful in 4m43s
Tests and linters / Tests with -race (pull_request) Successful in 5m46s
15abbe52f0
Bootstrap logic depends on the netmap status, which in turn depends on
the node info. Updating them in a single thread makes things more
predictable.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
fyrchik added this to the v0.38.5 milestone 2024-05-02 07:32:17 +00:00
fyrchik removed this from the v0.38.5 milestone 2024-05-02 07:33:08 +00:00
dstepanov-yadro approved these changes 2024-05-02 07:34:12 +00:00
fyrchik added this to the v0.38.6 milestone 2024-05-02 07:34:39 +00:00
acid-ant approved these changes 2024-05-02 08:11:16 +00:00
fyrchik merged commit 5a2a877cca into support/v0.38 2024-05-02 11:42:11 +00:00
fyrchik deleted branch maintenance-fixes 2024-05-02 11:42:12 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1113
No description provided.