avijayanhwx commented on a change in pull request #1836:
URL: https://github.com/apache/ozone/pull/1836#discussion_r571131658
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/response/upgrade/OMPrepareResponse.java
##########
@@ -40,5 +52,11 @@ protected void addToDBBatch(OMMetadataManager
omMetadataManager,
BatchOperation batchOperation) throws IOException {
// The Prepare request will create a marker file to indicate the OM is
// prepared, so there is no DB update for the prepare operation.
+ if (prepareIndex != -1) {
Review comment:
Retaining this logic as per review comments.
----------------------------------------------------------------
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]