GlenGeng commented on a change in pull request #1737:
URL: https://github.com/apache/ozone/pull/1737#discussion_r551107244
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/block/SCMBlockDeletingService.java
##########
@@ -146,9 +151,10 @@ public EmptyTaskResult call() throws Exception {
// We should stop caching new commands if num of un-processed
// command is bigger than a limit, e.g 50. In case datanode goes
// offline for sometime, the cached commands be flooded.
+ SCMCommand<?> command = new DeleteBlocksCommand(dnTXs);
+ command.setTerm(scmContext.getTerm());
Review comment:
Sure, I will fix them in the next patch.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]