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

Explicitly cap timeout for index disable RPC on compaction

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.12.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In PHOENIX-3953 we're marking the mutable global index as disabled with an index_disable_timestamp of 0 from the compaction hook.This is a potentially a server-server RPC, and HConnectionManager#setServerSideHConnectionRetries makes it such that the HBase client config on the server side has 10 times the number of retries, lasting hours.
      To avoid a hung coprocessor hook, we should explicitly cap the number of retries here.

        Attachments

        1. PHOENIX-4169.0.98.v4.patch
          12 kB
          Vincent Poon
        2. PHOENIX-4169.master.v4.patch
          12 kB
          Vincent Poon
        3. PHOENIX-4169.master.v3.patch
          6 kB
          Vincent Poon
        4. PHOENIX-4169.0.98.v3.patch
          6 kB
          Vincent Poon
        5. PHOENIX-4169.0.98.v2.patch
          5 kB
          Vincent Poon
        6. PHOENIX-4169.master.v2.patch
          5 kB
          Vincent Poon
        7. PHOENIX-4169.0.98.patch
          4 kB
          Vincent Poon
        8. PHOENIX-4169.master.patch
          4 kB
          Vincent Poon

          Issue Links

            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: