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

_flushForQueryPredicate should handle malformed oplog entries

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication
    • ALL
    • v4.0, v3.6

      During oplog application, SessionUpdateTracker::_flushForQueryPredicate expects an oplog entry for "config.transactions" to contain an "_id" field which is an object. If it is not, we assert with code 10065 (in BSONElement::Obj()). Since we do not prevent arbitrary updates to config.transactions, we must be able to survive malformed entries.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: