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

cursor tracking is not database aware

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Blocker - P1 Blocker - P1
    • 1.6.2, 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL

      We track cursors by object location so if an object is deleted we can advance.
      We weren't keep these isolated by db, so if a cursor is open at position X on db A, and a delete on db B removes an object at position X, a segfault can happen because a cursor will be advanced to an illegal position.

      This is exacerbated by replication because once an oplog rolls over, every time we add an op, we delete one, so it makes the odds of this higher.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            eliot Eliot Horowitz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: