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

Some mtimes and atimes are lost when edit logs are replayed

    Details

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

      Description

      The refactoring in HDFS-2003 allowed findbugs to expose two potential bugs:

      • the atime field logged with OP_MKDIR is unused
      • the timestamp field logged with OP_CONCAT_DELETE is unused

      The concat issue is definitely real. The atime for MKDIR might always be identical to mtime in that case, in which case it could be ignored.

        Attachments

        1. hdfs-2041.txt
          7 kB
          Todd Lipcon
        2. hdfs-2041.txt
          6 kB
          Todd Lipcon

          Issue Links

            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: