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

Auto-logSync based on edit log buffer size broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.22.0, 0.23.0
    • 2.0.0-alpha, 0.23.10
    • namenode
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: