hanishakoneru commented on a change in pull request #276: HDDS-2637. Handle
LeaderNot ready exception in OzoneManager StateMachine and upgrade ratis to
latest version.
URL: https://github.com/apache/hadoop-ozone/pull/276#discussion_r351535734
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/db/DBCheckpoint.java
##########
@@ -71,4 +71,16 @@
* log index applied to the DB checkpoint.
*/
long getRatisSnapshotIndex();
+
+ /**
+ * Set the term index for the corresponding OM DB checkpoint.
+ * @param omRatisSnapshotTermIndex
+ */
+ void setRatisSnapshotTermIndex(long omRatisSnapshotTermIndex);
+
Review comment:
Can we rename this to RatisSnapshotTerm so that it is not confused with
TermIndex which includes both the term and log index.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]