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

applyOps command does not to write to config.image_collection on secondaries in some cases

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • ALL

      SERVER-65531 describes an issue with malformed oplog entries involving "needsRetryImage" being given to the applyOps command.

      max.hirschhorn@mongodb.com discovered a corner case that can generate an oplog entry with "needsRetryImage" involving passing a findAndModify oplog entry through the applyOps command. This generates an oplog entry without lsid, txnNumber, and needsRetryImage and as a result secondaries won't update their config.image_collection entry.

      We've decided to file this issue as a separate ticket as we believe it's not necessarily resolved by SERVER-65531, whose resolution may simply involve writing to config.image_collection if lsid and txnNumber exist.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: