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:57 UTC

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

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


   ### 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] merlimat merged pull request #7335: Handle SubscriptionBusyException in resetCursor api

Posted by GitBox <gi...@apache.org>.
merlimat merged pull request #7335:
URL: https://github.com/apache/pulsar/pull/7335


   


----------------------------------------------------------------
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] codelipenghui commented on pull request #7335: Handle SubscriptionBusyException in resetCursor api

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


   cherry-picked to branch-2.6(2.6.2)


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