Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • QuorumJournalManager (HDFS-3077)
    • ha
    • None
    • Reviewed

    Description

      Per some discussion with stepinto here, we should keep track of the "last committed txid" on each JournalNode. Then during any recovery operation, we can sanity-check that we aren't asked to truncate a log to an earlier transaction.

      This is also a necessary step if we want to support reading from in-progress segments in the future (since we should only allow reads up to the commit point)

      Attachments

        1. hdfs-3863.txt
          33 kB
          Todd Lipcon
        2. hdfs-3863.txt
          32 kB
          Todd Lipcon
        3. hdfs-3863-prelim.txt
          26 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: