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

Replica Set Sync (rs_sync) operation not closing correctly

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.9.0
    • Affects Version/s: 1.6.5, 1.7.5, 1.7.6
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      Ubuntu
    • Linux

      The basic premise:

      • We're finding useless operations in the db.currentOp() when using replica sets.
      • The useless ops are in the secondary nodes.
      • The useless ops appear to be tied to "Replica Set Syncing".

      Problems:
      0. The useless ops exist.
      1. The useless ops are "un-killable". However, bouncing mongod seems to make them go away.
      2. When a replica does a complete re-sync, the useless op contains a seconds running.

      #2 causes issues when watching for long running queries.

      Reproduction:

      • See attachment
      • Reproducing is really as simple as forcing a re-sync on a dead node (stop mongod, delete data, re-start)

            Assignee:
            kristina Kristina Chodorow (Inactive)
            Reporter:
            gatesvp Gaetan Voyer-Perrault
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: