ChenSammi commented on code in PR #10996:
URL: https://github.com/apache/ozone/pull/10996#discussion_r3763799079
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/KeyLifecycleService.java:
##########
@@ -1442,16 +1443,32 @@ private void sendDeleteKeysRequestAndClearList(String
volume, String bucket, Lim
LOG.debug("request size {} for {} keys",
deleteKeysRequest.getSerializedSize(), keyCount);
if (deleteKeysRequest.getSerializedSize() < ratisByteLimit) {
- // send request out
- OMRequest omRequest = OMRequest.newBuilder()
+ // perform preExecute as ratis submit does not perform preExecute
Review Comment:
Better move this comment to ahead of
omClientRequest.preExecute(getOzoneManager()).
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]