Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101515

Initial sync cloner shouldn't invariant when sync source client is terminated during shutdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Minor Change
    • ALL
    • Repl 2025-03-03, Repl 2025-03-17
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The initial sync node hits an invariant failure in the handleStageAttemptFailed funtion here, While we shouldn't enforce invariants on the client within the stage runners. Since these runners do not own the clients they reference and initial sync terminates them during shutdown, we should avoid setting invariants. Instead, we can return exceptions, which will be handled at a higher level.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            m.maher@mongodb.com Moustafa Maher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None