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

Auto-logSync based on edit log buffer size broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0
    • Fix Version/s: 2.0.0-alpha, 0.23.10
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-1112 added a feature whereby the edit log automatically calls logSync() if the buffered data crosses a threshold. However, the code checks bufReady.size() rather than bufCurrent.size() – which is incorrect since the writes themselves go into bufCurrent.

        Attachments

        1. hdfs-3020.txt
          3 kB
          Todd Lipcon
        2. hdfs-3020.txt
          3 kB
          Todd Lipcon
        3. hdfs-3020.txt
          3 kB
          Todd Lipcon

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: