eolivelli commented on code in PR #15755:
URL: https://github.com/apache/pulsar/pull/15755#discussion_r881435933


##########
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/coordination/impl/LockManagerImpl.java:
##########
@@ -173,15 +173,13 @@ public CompletableFuture<Void> asyncClose() {
             if (state != State.Ready) {
                 return CompletableFuture.completedFuture(null);
             }
-
             locks = new HashMap<>(this.locks);
             this.state = State.Closed;
         }
-
         return FutureUtils.collect(
-                locks.values().stream()
-                        .map(ResourceLock::release)
-                        .collect(Collectors.toList()))
+                        locks.values().stream()

Review Comment:
   please revert useless formatting changes (they make it harder to cherry-pick)



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