Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4214

Scans which write should not block region split or close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.12.0
    • 4.12.0
    • None

    Description

      PHOENIX-3111 introduced a scan reference counter which is checked during region preSplit and preClose. However, a steady stream of UPSERT SELECT or DELETE can keep the count above 0 indefinitely, preventing or greatly delaying a region split or close.

      We should try to avoid starvation of the split / close request, and fail/reject queries where appropriate.

      Attachments

        1. PHOENIX-4214.master.v1.patch
          18 kB
          Vincent Poon
        2. PHOENIX-4214.master.v2.patch
          18 kB
          Vincent Poon
        3. PHOENIX-4214-0.98-v2.patch
          18 kB
          Vincent Poon
        4. PHOENIX-4214-4.x-HBase-0.98_v1.patch
          18 kB
          James R. Taylor
        5. splitDuringUpsertSelect_wip.patch
          51 kB
          Vincent Poon

        Issue Links

          Activity

            People

              vincentpoon Vincent Poon
              vincentpoon Vincent Poon
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: