AnonHxy opened a new pull request #15002:
URL: https://github.com/apache/pulsar/pull/15002


   ### Motivation
   
   * The `resetCursorInProgress` will not be updated if throws exceptions in 
the callback. It is dangerous which will cause the following reset cursor 
requests  always throw `reset already in progress` exceptions.
   
   ### Modifications
   
   Catch any `Throwable`  and update `resetCursorInProgress` anyway
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### 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