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

Cap timeouts for stats precompact hook logic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.13.0
    • Fix Version/s: 4.14.0, 5.0.0
    • Labels:
      None

      Description

      In UngroupedAggregateRegionObserver#preCompact we call DefaultStatisticsCollector.createCompactionScanner.  It uses the env config which in turn contains the RS server rpc timeout of 20 minutes.  That's too long for a compaction hook.

      Like in PHOENIX-4169, we should cap the timeout so the compaction doesn't get blocked.

        Attachments

        1. PHOENIX-4683.v5.5.x.patch
          5 kB
          Vincent Poon
        2. PHOENIX-4683.v5.0.98.patch
          14 kB
          Vincent Poon
        3. PHOENIX-4683.v4.0.98.patch
          5 kB
          Vincent Poon
        4. PHOENIX-4683.v3.0.98.patch
          2 kB
          Vincent Poon
        5. PHOENIX-4683.v2.0.98.patch
          2 kB
          Vincent Poon
        6. PHOENIX-4683.v1.0.98.patch
          2 kB
          Vincent Poon

          Activity

            People

            • Assignee:
              vincentpoon Vincent Poon
              Reporter:
              vincentpoon Vincent Poon
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: