eolivelli commented on a change in pull request #12243:
URL: https://github.com/apache/pulsar/pull/12243#discussion_r718847640
##########
File path:
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/coordination/impl/CoordinationServiceImpl.java
##########
@@ -80,6 +81,12 @@ public void close() throws Exception {
k -> new LockManagerImpl<T>(store, clazz, executor));
}
+ @Override
+ public <T> LockManager<T> getLockManager(MetadataSerde<T> serde) {
+ return (LockManager<T>) lockManagers.computeIfAbsent(serde,
Review comment:
So we require to implement equals and hashCode on MetadataSerde now?
--
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]