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

fix: fix delete dump file while still in use #2377

Merged

Conversation

wangshao1
Copy link
Collaborator

修改countsyncslaves判断逻辑,通过slave_state判断是否有slave节点处于全量数据同步期间。
如果有slave处于kSlaveDbSync状态,认为dump仍然在使用,不删除。

this fix issue: #2376

@github-actions github-actions bot added the ☢️ Bug Something isn't working label Feb 1, 2024
Copy link
Collaborator

@baixin01 baixin01 left a comment

Choose a reason for hiding this comment

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

LGTM

@chejinge chejinge merged commit 3ced41a into OpenAtomFoundation:unstable Feb 2, 2024
13 checks passed
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
* fix delete dump file while still in use

* remove unused rsync code

---------

Co-authored-by: wangshaoyi <[email protected]>
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
* fix delete dump file while still in use

* remove unused rsync code

---------

Co-authored-by: wangshaoyi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.5.3 ☢️ Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants