Umeshkumar9414 commented on code in PR #5816: URL: https://github.com/apache/hbase/pull/5816#discussion_r1580528932
########## hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerRemoteProcedure.java: ########## @@ -137,6 +140,10 @@ synchronized void remoteOperationDone(MasterProcedureEnv env, Throwable error) { getProcId()); return; } + //below persistence is added so that if report goes to last active master, it throws exception + state = MasterProcedureProtos.ServerRemoteProcedureState.SERVER_REMOTE_PROCEDURE_REPORT_SUCCEED; + env.getMasterServices().getMasterProcedureExecutor().getStore().update(this); + complete(env, error); Review Comment: I don't want to open another PR. But as we are facing issue, I have raised another [PR](https://github.com/apache/hbase/pull/5857) for this- https://github.com/apache/hbase/pull/5857 ########## hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerRemoteProcedure.java: ########## @@ -137,6 +140,10 @@ synchronized void remoteOperationDone(MasterProcedureEnv env, Throwable error) { getProcId()); return; } + //below persistence is added so that if report goes to last active master, it throws exception + state = MasterProcedureProtos.ServerRemoteProcedureState.SERVER_REMOTE_PROCEDURE_REPORT_SUCCEED; + env.getMasterServices().getMasterProcedureExecutor().getStore().update(this); + complete(env, error); Review Comment: I don't want to open another PR. But as we are facing issues, I have raised another [PR](https://github.com/apache/hbase/pull/5857) for this- https://github.com/apache/hbase/pull/5857 -- 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: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org