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

   ### Motivation
   
   Fixes #14736 
   
   The problem lies in that we are checking the lock content to establish that 
it's revalidated. In the specific case, the equality operator fails because 
`AdvertisedListener` class doesn't have `equals()`. 
   
   This makes the lock revalidation logic to enter a loop in which we delete 
the lock, recreate and re-check and it always looks different content, although 
it also looks as created in the same ZK session.
   
   This only happens where `AdvertisedListener` are configured in the broker.
   
   ### Modifications
   
   Ensure `NamespaceEphemeralData` has a valid `equals()` operator to avoid the 
revalidation failures.
   
   


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