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

Create index may issue a distributed dead lock due lack of handlers

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 4.11.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      In PHOENIX-3360 we were trying to avoid using index rpc on client side, setting controller manually in Indexer. But after we moved index creating to server side there is another set of RS-RS communication that comes from UngroupedAggregateRegionObserver with regular priority. That may cause distributed dead lock when all handlers are occupied by index create scanners for user table and inside they are trying to send index updates. To prevent it we need to set controller in UngroupedAggregateRegionObserver in the similar way like we did in Indexer.

        Attachments

        1. PHOENIX-3974.patch
          2 kB
          Sergey Soldatov

          Issue Links

            Activity

              People

              • Assignee:
                sergey.soldatov Sergey Soldatov
                Reporter:
                sergey.soldatov Sergey Soldatov
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: