mattisonchao opened a new pull request #14367:
URL: https://github.com/apache/pulsar/pull/14367


   Fixes #14362
   
   Master Issue: #14362
   
   ### Motivation
   
   See #14362 
   
   According to relative fix #7724, I found that the root cause of this part is 
that we are using some async methods and not waiting for this call to complete.
   For this reason, after #14091, I don't think we need to delete all 
subscriptions anymore. Then the race condition disappears.
   
   
![image](https://user-images.githubusercontent.com/74767115/154626609-d67d3a58-f99d-4fb4-80f2-8f275a12e42a.png)
   
   ### Modifications
   
   - Remove ``delete all subscriptions logic``.
   - Add multiple thread tests to ensure we don't have a legacy subscription.
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   ### Documentation
   
   - [x] `no-need-doc` 
     
   
   


-- 
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]


Reply via email to