Try removing dead nodes in the netmap contract #29

Open
opened 2023-06-01 10:58:50 +00:00 by fyrchik · 1 comment
Owner

Currently IR removes nodes which do not send bootstrap queries for 3 epochs.
It seems we can implement the same logic in the contract: just update the epoch on each updateState/addPeer call and use the info when forming a snapshot.

Currently IR removes nodes which do not send bootstrap queries for 3 epochs. It seems we can implement the same logic in the contract: just update the epoch on each `updateState`/`addPeer` call and use the info when forming a snapshot.
fyrchik added the
enhancement
label 2023-06-01 10:58:55 +00:00
fyrchik self-assigned this 2023-06-20 13:41:47 +00:00
Author
Owner

We have tried this at #31

It isn't ideal: fast epoch ticks can lead to all nodes being removed.

We have tried this at https://git.frostfs.info/TrueCloudLab/frostfs-contract/pulls/31 It isn't ideal: fast epoch ticks can lead to all nodes being removed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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-contract#29
No description provided.