Skip to content

Conversation

ninsmiracle
Copy link
Contributor

What problem does this PR solve?

#1589

What is changed and how does it work?

I used to use #1590 fix this bug. This method mainly achieves the purpose through delay close replica when duplication doing.
However, I later thought that this method was not smart enough, and it would cause the problem of double close replica in some cases.Although I have limited the occurrence of bugs through some logic, this logic is still fragile.
So I changed my mindset and proactively stopped dup when closing the replica.

Checklist

Tests
  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
Code changes

What happen in Pegasus:
image

After this changer:
image

@github-actions github-actions bot added the cpp label Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant