jiazhai opened a new pull request #7336:
URL: https://github.com/apache/pulsar/pull/7336


   ### Motivation
   In method `PersistentSubscription.resetCursor`,  
`SubscriptionFencedException` is thrown in several place, but not handled in 
`PersistentTopicBase`.
   It caused the error message not very clear.   This fix tries to export 
`SubscriptionBusyException` in `PersistentTopicBase` for resetCursor, to make 
the error in reset api more clear.
   
   ### Modifications
   - handle `SubscriptionBusyException` in `PersistentTopicBase` for 
resetCursor.
   - add tests for it.


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

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


Reply via email to