avoid writing blocks to draining nodes ? #815

Open
opened 2024-04-22 15:52:43 +00:00 by lx · 0 comments
Owner

Currently, when nodes are being removed from the layout, they continue receiving writes for metadata as per the consistency protocol. This means also that they will continue receiving the block_ref entries and the data blocks for the partitions they were responsible of. This is an issue as it can cause nodes to fill up quickly, which is especially problematic when we are removing nodes that are full to replace them with bigger nodes. We should probably find a way to avoid storing blocks on draining nodes, as long as we have a quorum of writes on other nodes.

Currently, when nodes are being removed from the layout, they continue receiving writes for metadata as per the consistency protocol. This means also that they will continue receiving the block_ref entries and the data blocks for the partitions they were responsible of. This is an issue as it can cause nodes to fill up quickly, which is especially problematic when we are removing nodes that are full to replace them with bigger nodes. We should probably find a way to avoid storing blocks on draining nodes, as long as we have a quorum of writes on other nodes.
lx added the
Bug
label 2024-04-22 15:52:43 +00:00
lx added
Improvement
and removed
Bug
labels 2024-04-22 15:57:15 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 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: Deuxfleurs/garage#815
No description provided.