Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0, 2.0.0
    • Compaction, regionserver
    • None
    • Reviewed

    Description

      Per devaraj's idea on parent issue, let's see if we can reduce the scope of critical section under which compactions hold the region read lock.

      Here is summary from parent issue:

      Another idea is we can reduce the scope of when the read lock is held during compaction. In theory the compactor only needs a region read lock while deciding what files to compact and at the time of committing the compaction. We're protected from the case of region close events because compactions are checking (every 10k bytes written) if the store has been closed in order to abort in such a case.

      Attachments

        1. 14575.v00.patch
          37 kB
          Nick Dimiduk
        2. 14575-test-case.patch
          5 kB
          Ted Yu
        3. 14575-v1.patch
          36 kB
          Ted Yu
        4. 14575-v2.patch
          39 kB
          Ted Yu
        5. 14575-v3.patch
          42 kB
          Ted Yu
        6. 14575-v4.patch
          44 kB
          Ted Yu
        7. 14575-v5.patch
          43 kB
          Ted Yu
        8. 14575-v6.txt
          6 kB
          Michael Stack
        9. 14575-v6.txt
          6 kB
          Ted Yu
        10. 14575-v6.txt
          6 kB
          Ted Yu
        11. 14575-v7.txt
          10 kB
          Ted Yu

        Activity

          People

            ndimiduk Nick Dimiduk
            ndimiduk Nick Dimiduk
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: