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

Cap timeouts for stats precompact hook logic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.13.0
    • 4.14.0, 5.0.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: