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

Index builds can fail with non-retriable error upon replication rollback

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • Storage Execution 2025-04-14
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Typically, upon a replication state transition, writes will fail with a retriable error (for instance InterruptedDueToReplStateChange) so that the driver can retry the write on the new primary. However, an index build can fail with IndexBuildAborted (which is not a retriable error) and thus will not be retried.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: