shibd opened a new pull request #13850:
URL: https://github.com/apache/pulsar/pull/13850


   ### Motivation
   
   #13663 Flaky-test: org.apache.pulsar.metadata.LockManagerTest.updateValue
   
   The reasons are discussed in detail in this PR(#13725)
   
   This is mainly caused by the callback method of `MetadataStore` and the 
concurrent access of the notification thread to the `MetadataCache#refresh`.
   
   We should queue them in the `metada-store` thread pool(SingleThread)
   
   
   ### Modifications
    1. In `AbstractMetadataStore` method, all future callback opt are executed 
through `metada-store` thread.
   2. In  `ZKMetadataStore#batchOperation`, `zkc.multi` callback opt are 
executed through `metada-store` thread.
   
   ### 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: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to