jojochuang commented on code in PR #8432:
URL: https://github.com/apache/ozone/pull/8432#discussion_r2085158614
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/service/AbstractKeyDeletingService.java:
##########
@@ -220,7 +222,7 @@ private int
submitPurgeKeysRequest(List<DeleteBlockGroupResult> results,
// Submit PurgeKeys request to OM
try {
- OzoneManagerRatisUtils.submitRequest(ozoneManager, omRequest, clientId,
runCount.get());
+ OzoneManagerRatisUtils.submitRequest(ozoneManager, omRequest, clientId,
callId.incrementAndGet());
Review Comment:
I see. So the problem is in each run there can be multiple unique key
deletion requests, so it can't use runCount as call id otherwise only one will
execute and the rest will be regarded as retry and skipped.
--
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]