swamirishi commented on code in PR #8474: URL: https://github.com/apache/ozone/pull/8474#discussion_r2134347498
########## hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OzoneManagerLock.java: ########## @@ -244,7 +248,17 @@ public OMLockDetails acquireWriteLock(Resource resource, String... keys) { */ @Override public OMLockDetails acquireWriteLocks(Resource resource, Collection<String[]> keys) { - return acquireLocks(resource, false, keys); + return acquireLocks(resource, false, striped -> bulkGetLock(striped, keys)); + } + + /** + * Acquires a write lock on the entire Stripe for a specified resource. Review Comment: done -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org