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

bugfix: change RaftServer#destroy to wait all shutdown procedures done #6050

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

ptyin
Copy link
Member

@ptyin ptyin commented Nov 17, 2023

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

RaftGroupService::shutdown is an asynchronized procedure, add RaftGroupService::join to wait all shutdown procedures done.

Ⅱ. Does this pull request fix one issue?

fixes #6046

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@ptyin ptyin changed the title bugfix: change RaftServer#destroy to wait all shutdown procedure done bugfix: change RaftServer#destroy to wait all shutdown procedures done Nov 17, 2023
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@funky-eyes funky-eyes added this to the 2.0.0 milestone Nov 17, 2023
@funky-eyes funky-eyes added type: bug Category issues or prs related to bug. module/server server module labels Nov 17, 2023
@slievrly slievrly merged commit 1686c6a into apache:2.x Nov 18, 2023
@slievrly slievrly mentioned this pull request Nov 20, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/server server module type: bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BranchSessionExecuteTest UT failed
3 participants