Umeshkumar9414 commented on code in PR #6129: URL: https://github.com/apache/hbase/pull/6129#discussion_r1698997639
########## hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java: ########## @@ -2567,6 +2573,17 @@ public ReportProcedureDoneResponse reportProcedureDone(RpcController controller, return ReportProcedureDoneResponse.getDefaultInstance(); } + private void throwOnOldMasterStartCode(Stream<Long> masterStartCodeStream) + throws MasterNotRunningException { + long masterStartCodeFromProc = masterStartCodeStream.max(Long::compare).orElse(-1L); + // -1 is less than any possible MasterStartCode + + if (masterStartCodeFromProc > server.getStartcode()) { Review Comment: yes. [Here](https://github.com/apache/hbase/blob/2a4203f6fcb63b4563ea660fb03b0b9648b944ac/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java#L2356) is the logic -- 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