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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 4.11.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: