nodece opened a new pull request #13596:
URL: https://github.com/apache/pulsar/pull/13596


   Signed-off-by: Zixuan Liu <[email protected]>
   
   ### Motivation
   
   I notice that the metadata store hasn't any timeout settings. When the call 
the `zk.multi` API, if the zk doesn't call the callback, the request will be 
blocked.
   
   ### Modifications
   
   - Add `OperationTimeoutSeconds` to metadata store config
   - Add timeout check task to `ZKMetadataStore.batchOperation`
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   
     - Add `ZKMetadataStoreTest` test
   
   ### Documentation
   
   Need to update docs? 
     
   - [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