You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/22 14:24:56 UTC

[GitHub] [pulsar] jiazhai opened a new pull request #7336: Handle SubscriptionBusyException in resetCursor api

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:
users@infra.apache.org



[GitHub] [pulsar] jiazhai commented on pull request #7336: Handle SubscriptionBusyException in resetCursor api

Posted by GitBox <gi...@apache.org>.
jiazhai commented on pull request #7336:
URL: https://github.com/apache/pulsar/pull/7336#issuecomment-647552861


   close for dup


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [pulsar] jiazhai closed pull request #7336: Handle SubscriptionBusyException in resetCursor api

Posted by GitBox <gi...@apache.org>.
jiazhai closed pull request #7336:
URL: https://github.com/apache/pulsar/pull/7336


   


----------------------------------------------------------------
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:
users@infra.apache.org