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

Fix the race condition between Compaction and StoreScanner.init

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.89-fb
    • 0.89-fb, 0.98.0
    • Scanners
    • None
    • Reviewed

    Description

      The StoreScanner constructor has multiple stages and there can be a race betwwen an ongoing compaction and the StoreScanner constructor where we might get the list of scanners before a compaction and seek on those scanners after the compaction.

      Attachments

        1. 9949-trunk-v3.txt
          18 kB
          Ted Yu
        2. 9949-trunk-v2.txt
          18 kB
          Ted Yu
        3. 9949-trunk-v1.txt
          16 kB
          Ted Yu
        4. 9949-0.96.addendum
          0.7 kB
          Ted Yu
        5. 9949.addendum
          16 kB
          Ted Yu

        Activity

          People

            manukranthk Manukranth Kolloju
            manukranthk Manukranth Kolloju
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified