Small fixes for netmap status transitions #1110

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:fix-status into master 2024-09-04 19:51:08 +00:00
Owner

This PR mostly fixes a race condition when node could ignore bootstrap query even though it is no longer in the maintenance state.

Testing done (dev-env):

  1. Move node to maintenance, tick epoch -> snapshot reports good state.
  2. Move node to online -> see message in logs.
  3. Move node to online -> see no message in logs.
  4. Tick epoch -> see online status in the snapshot command.
This PR mostly fixes a race condition when node could ignore bootstrap query even though it is no longer in the maintenance state. Testing done (dev-env): 1. Move node to maintenance, tick epoch -> snapshot reports good state. 2. Move node to online -> see message in logs. 3. Move node to online -> see no message in logs. 4. Tick epoch -> see online status in the snapshot command.
fyrchik requested review from storage-core-committers 2024-04-27 12:16:43 +00:00
fyrchik requested review from storage-core-developers 2024-04-27 12:16:44 +00:00
fyrchik added this to the v0.39.0 milestone 2024-04-27 12:16:45 +00:00
fyrchik force-pushed fix-status from 49d6131773 to 52bebe9452 2024-04-27 12:17:57 +00:00 Compare
acid-ant approved these changes 2024-04-27 13:04:06 +00:00
achuprov approved these changes 2024-04-27 13:23:57 +00:00
fyrchik merged commit 52bebe9452 into master 2024-04-27 13:44:12 +00:00
fyrchik deleted branch fix-status 2024-04-27 13:44: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#1110
No description provided.