hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1371) Download RocksDB checkpoint from OM Leader to Follower
Date Tue, 04 Jun 2019 17:11:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1371?focusedWorklogId=253852&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-253852

ASF GitHub Bot logged work on HDDS-1371:

                Author: ASF GitHub Bot
            Created on: 04/Jun/19 17:10
            Start Date: 04/Jun/19 17:10
    Worklog Time Spent: 10m 
      Work Description: bharatviswa504 commented on pull request #703: HDDS-1371. Download
RocksDB checkpoint from OM Leader to Follower.
URL: https://github.com/apache/hadoop/pull/703#discussion_r290402130

 File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/utils/db/DBCheckpoint.java
 @@ -55,4 +55,20 @@
   void cleanupCheckpoint() throws IOException;
+  /**
+   * Set the OM Ratis snapshot index corresponding to the OM DB checkpoint.
+   * The snapshot index is the latest snapshot index saved by ratis
+   * snapshots. It is not guaranteed to be the last ratis index applied to
+   * the OM DB state.
+   * @param omRatisSnapshotIndex the saved ratis snapshot index
+   */
+  void setRatisSnapshotIndex(long omRatisSnapshotIndex);
 Review comment:
   I think this can be called lastTransactionAppliedIndex, so that it will be easy to understand.
   If you think this should be this way, I am fine with it too..
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:

Issue Time Tracking

    Worklog Id:     (was: 253852)
    Time Spent: 3.5h  (was: 3h 20m)

> Download RocksDB checkpoint from OM Leader to Follower
> ------------------------------------------------------
>                 Key: HDDS-1371
>                 URL: https://issues.apache.org/jira/browse/HDDS-1371
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
> If a follower OM is lagging way behind the leader OM or in case of a restart or bootstrapping,
a follower OM might need RocksDB checkpoint from the leader to catch up with it. This is because
the leader might have purged its logs after taking a snapshot.
>  This Jira aims to add support to download a RocksDB checkpoint from leader OM to follower
OM through a HTTP servlet. We reuse the DBCheckpoint servlet used by Recon server. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message