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

Some mtimes and atimes are lost when edit logs are replayed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.23.0
    • None
    • None
    • 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
          6 kB
          Todd Lipcon
        2. hdfs-2041.txt
          7 kB
          Todd Lipcon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: