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

   ### Motivation
   
   In the production environment,  we found two brokers holding the same valid 
locks. and one has an exceptional revalidate future with `lockBusyException`. 
after reading the code, there may forget the reset the cache and complete 
expire exception when getting lockBusyException.
   
   Snapshot: broker A
   
   <img width="991" alt="image" 
src="https://user-images.githubusercontent.com/74767115/190839387-aeb5ae62-728b-4505-b2c7-449f007f6da2.png";>
   
   Snapshot: broker B
   
   <img width="952" alt="image" 
src="https://user-images.githubusercontent.com/74767115/190839434-c0017bbe-a11a-40d8-a772-6947b5b9fc38.png";>
   
   
   ### Modifications
   
   <!-- Describe the modifications you've done. -->
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This change is already covered by existing tests, such as *(please describe 
tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads 
(10MB)*
     - *Extended integration test for recovery after broker failure*
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [ ] Anything that affects deployment
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


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