Uploaded image for project: 'InsightEdge Platform'
  1. GS-13544

The XAP Manager mishandles pending requests when its leadership is relinquished

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 12.3.1
    • Labels:
      None
    • Platform:
      All
    • Acceptance Test:
      xap-sgtest/tests/src/main/java/test/manager/leader/OneManagerLeftNotProvisioningTest.java
    • Sprint:
      12.3.1-M4, 12.3.1-M5
    • Product:
      XAP
    • Edition:
      Premium

      Description

      Processing Unit remained in SCHEDULED state although there was a container that could host the missing instance. It was observed that after the XAP Manager had relinquished leadership the pending Processing Unit instance was removed from the pending list (as it should) and when the XAP Manager was re-offered leadership it ignored the request due to a mismatch in allocated instance count.

      Fix in 12.3.1 makes sure that removing a pending request also aligns the allocated instance ID count.
      This issue started appearing after fix GS-13502 which closes the leader-selector and speeds up the re-election process only to be relinquished because of lack of majority. Before this fix, the ephemeral node lease would elapse and only then would a leader be selected. This exposed a bug in the GSM as described above.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                moran Moran Avigdor
                Reporter:
                moran Moran Avigdor
                Participants of an issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: