Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: QuorumJournalManager (HDFS-3077)
    • Component/s: ha
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Per some discussion with Chao Shi 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-prelim.txt
          26 kB
          Todd Lipcon
        2. hdfs-3863.txt
          32 kB
          Todd Lipcon
        3. hdfs-3863.txt
          33 kB
          Todd Lipcon

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: