merlimat opened a new pull request #12184:
URL: https://github.com/apache/pulsar/pull/12184


   ### Motivation
   
   When we receive session events from the MetadataStoreExtended 
implementation, we need to process them from a single thread to ensure that the 
locks and leader revalidations are not happening concurrently. 
   
   For example, it possible to receive a `SessionEvent.Reconnected` immediately 
followed by a `SessionEvent.SessionReestablished`. In this case we need to 
first finish processing the 1st event and complete all the revalidations, then 
proceeding to the other event, otherwise we'll be having multiple revalidations 
in flight.


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