ninsmiracle opened a new pull request, #2208:
URL: https://github.com/apache/incubator-pegasus/pull/2208

   ### What problem does this PR solve? <!--add issue link with summary if 
exists-->
   #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 <!--REMOVE the items that are not applicable-->
   
   ##### Tests <!-- At least one of them must be included. -->
   
   - Unit test
   - Integration test
   - Manual test (add detailed scripts or steps below)
   
   ##### Code changes
   **What happen in Pegasus**:
   
![image](https://github.com/user-attachments/assets/00550e2e-21ce-4f93-a1a6-2e3c992f6e84)
   
   
   **After this changer**:
   
![image](https://github.com/user-attachments/assets/111aa650-f5a3-43a5-947d-1dce71da7271)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to