Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: graceful group member change #12

Merged
merged 16 commits into from
Dec 10, 2024
Merged

feat: graceful group member change #12

merged 16 commits into from
Dec 10, 2024

Conversation

zxh326
Copy link
Member

@zxh326 zxh326 commented Nov 18, 2024

  • add worker

If the total number of workers is 2 or more, include the group-backup option for new workers. Remove it after a 10-minute.

  • remove worker

If blockcache.bytes is greater than zero, recreate the worker and update group-weight to zero and wait for blockcache.bytes to reach zero before deleting it.

ref: https://github.com/juicedata/voc/issues/369#issuecomment-2472333654

@zxh326 zxh326 mentioned this pull request Nov 18, 2024
4 tasks
@zxh326 zxh326 force-pushed the graceful-shut-down-worker branch 2 times, most recently from 2e09cc1 to e74bb58 Compare November 20, 2024 09:19
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 force-pushed the graceful-shut-down-worker branch from e74bb58 to cb2d4e2 Compare November 20, 2024 09:20
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 marked this pull request as ready for review November 22, 2024 06:03
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 requested a review from zwwhdls November 27, 2024 09:08
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 force-pushed the graceful-shut-down-worker branch from 09c2867 to 2b67114 Compare December 5, 2024 02:23
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
Signed-off-by: Xuhui zhang <[email protected]>
@zxh326 zxh326 merged commit b0a1f5c into main Dec 10, 2024
3 checks passed
@zxh326 zxh326 deleted the graceful-shut-down-worker branch December 10, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants