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

Do fsyncDirectory(..) outside of FSDataset lock

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2, 2.7.5
    • Component/s: datanode
    • Labels:
      None

      Description

      HDFS-5042 introduced fsyncDirectory(..) to save blocks from power failure.
      Do it outside of FSDataset lock to avoid overall performance degradation if disk takes more time to sync.

        Attachments

        1. HDFS-12157-01.patch
          5 kB
          Vinayakumar B
        2. HDFS-12157-branch-2-01.patch
          5 kB
          Vinayakumar B
        3. HDFS-12157-branch-2.7-01.patch
          6 kB
          Vinayakumar B
        4. HDFS-12157-branch-2.7-01.patch
          6 kB
          Vinayakumar B

          Issue Links

            Activity

              People

              • Assignee:
                vinayrpet Vinayakumar B
                Reporter:
                vinayrpet Vinayakumar B
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: