Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8873

minor concurrent issue about filesCompacting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • None
    • None
    • None
    • None

    Description

      i am reading compaction code, seems there's a minor thread-safe issue on filesCompacting in both 0.94 and trunk, we guard it with synchronized/lock, except needsCompaction() function. and the fix should sth like this:
      synchronized (filesCompacting) {
      ...
      }

      Attachments

        1. HBase-8873-0.94.txt
          0.6 kB
          Liang Xie

        Activity

          People

            Unassigned Unassigned
            xieliang007 Liang Xie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: