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

Port of #1110

Port of #1110
fyrchik added 4 commits 2024-05-02 07:32:11 +00:00
0f3ee99f48 [#1110] node: Fix comment about nodeInfo type
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
ef47d0b4f6 [#1110] node: Rename handleLocalNodeInfo()
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>
e25bddce62 [#1110] node: Log maintenance stop only if it was enabled
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
Vulncheck / Vulncheck (pull_request) Successful in 2m15s Details
DCO action / DCO (pull_request) Successful in 2m11s Details
Build / Build Components (1.21) (pull_request) Successful in 3m50s Details
Build / Build Components (1.20) (pull_request) Successful in 4m29s Details
Tests and linters / Staticcheck (pull_request) Successful in 6m28s Details
Tests and linters / Lint (pull_request) Successful in 8m21s Details
Tests and linters / gopls check (pull_request) Successful in 8m18s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 4m35s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 4m43s Details
Tests and linters / Tests with -race (pull_request) Successful in 5m46s Details
15abbe52f0
[#1110] node: Use single handler for new epoch event
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 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
There is no content yet.