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

Do not include "local.slaves" writes in opcounters

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.9, 2.6.0-rc1
    • Component/s: Diagnostics, Replication
    • Labels:
      None
    • ALL

      It appears that update counter is incremented when secondary updates local.slaves collection.

      When there is chaining this gives counts of updates on secondary which looks wrong since a host that's never been primary should only have repl opcounts for writes.

      There is a precedent for this since we already exclude various other system-initiated writes from opcounters (TTL, from migrate, etc).

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: