Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1597

Batched edit log syncs can reset synctxid throw assertions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The top of FSEditLog.logSync has the following assertion:

              assert editStreams.size() > 0 : "no editlog streams";
      

      which should actually come after checking to see if the sync was already batched in by another thread.

      This is related to a second bug in which the same case causes synctxid to be reset to 0

        Attachments

        1. illustrate-test-failure.txt
          2 kB
          Todd Lipcon
        2. hdfs-1597.txt
          8 kB
          Todd Lipcon
        3. hdfs-1597.txt
          8 kB
          Todd Lipcon
        4. hdfs-1597.txt
          8 kB
          Todd Lipcon

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: