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

Fix data race accessing writeLockHeldTimeStamp in FSNamesystem

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 2.7.4, 3.0.0-alpha1
    • namenode
    • None
    • Reviewed

    Description

      This is a followup of HDFS-9145.

      Actually the value of writeLockInterval should be captured within the lock. The current code has a race on writeLockHeldTimeStamp. Thanks to Jing Zhao for reporting this.

      Attachments

        1. HDFS-9467.000.patch
          1 kB
          Mingliang Liu
        2. HDFS-9467.001.patch
          1 kB
          Mingliang Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment