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

Do not include "local.slaves" writes in opcounters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 2.4.9, 2.6.0-rc1
    • None
    • 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

        Issue Links

          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: