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

Do not include "local.slaves" writes in opcounters

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.4.9, 2.6.0-rc1
    • Diagnostics, Replication
    • None
    • ALL

    Description

      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).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: