GlenGeng commented on a change in pull request #1981:
URL: https://github.com/apache/ozone/pull/1981#discussion_r588842185
##########
File path:
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SequenceIdGenerator.java
##########
@@ -202,8 +203,8 @@ public Boolean allocateBatch(String sequenceIdName,
}
try {
- sequenceIdTable.putWithBatch(transactionBuffer
- .getCurrentBatchOperation(), sequenceIdName, newLastId);
+ transactionBuffer
+ .addToBuffer(sequenceIdTable, sequenceIdName, newLastId);
Review comment:
My fault. It should be fine. non-ratis SCM will not go to there.
----------------------------------------------------------------
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]