You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/04/09 02:29:32 UTC
[GitHub] [pulsar] merlimat opened a new pull request, #15092: Ensure NamespaceEphemeralData has equals() operator
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] eolivelli merged pull request #15092: Ensure NamespaceEphemeralData has equals() operator
Posted by GitBox <gi...@apache.org>.
eolivelli merged PR #15092:
URL: https://github.com/apache/pulsar/pull/15092
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org