Skip to content

[Region Migration] Wait for all region-related resources to be released before deleting#13148

Merged
OneSizeFitsQuorum merged 6 commits intoapache:masterfrom
HxpSerein:region_pipe
Aug 14, 2024
Merged

[Region Migration] Wait for all region-related resources to be released before deleting#13148
OneSizeFitsQuorum merged 6 commits intoapache:masterfrom
HxpSerein:region_pipe

Conversation

@HxpSerein
Copy link
Copy Markdown
Collaborator

@HxpSerein HxpSerein commented Aug 13, 2024

Description

Release all resources related to the region. Currently, we only check pipe. Before removing a peer, you need to wait for its user pipe to clean up and release resources.

@HxpSerein HxpSerein changed the title [Region Migration] wait for user pipe to allow remove peer [Region Migration] Wait for all region-related resources to be released before deleting Aug 13, 2024
Copy link
Copy Markdown
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum merged commit ef54f79 into apache:master Aug 14, 2024
HxpSerein added a commit to HxpSerein/iotdb that referenced this pull request Aug 15, 2024
…ed before deleting (apache#13148)

* add waitUserPipeAllowRemovePeer

* rollback conf

* change name

* fix comment

* refactor

* refactor

(cherry picked from commit ef54f79)
@HxpSerein HxpSerein deleted the region_pipe branch August 15, 2024 05:56
OneSizeFitsQuorum pushed a commit that referenced this pull request Aug 15, 2024
Caideyipi pushed a commit to Caideyipi/iotdb that referenced this pull request Mar 25, 2026
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