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

Do not throw when transitioning to PENDING_DISABLE if index is already disabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.14.0
    • 4.14.1, 5.1.0
    • None
    • None

    Description

      When multiple clients get index write failures, they may attempt to transition to PENDING_DISABLE concurrently. A race condition can cause one to exhaust its retries first and transition the index to DISABLE, and another client to then attempt to transition from DISABLE to PENDING_DISABLE. Currently this is causing an exception to get thrown, leading to the KillServerOnFailurePolicy getting activated.

      Attachments

        1. PHOENIX-4963.v3.master.patch
          3 kB
          Vincent Poon
        2. PHOENIX-4963.v2.master.patch
          3 kB
          Vincent Poon
        3. PHOENIX-4963.v1.master.patch
          2 kB
          Vincent Poon

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: