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

Secondary collection contains more objects than primary

    • Type: Icon: Question Question
    • Resolution: Cannot Reproduce
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.4.9
    • Component/s: Replication
    • Labels:
      None

      Using mongodb 2.4.9 ( database created since 1.8.3 ).

      I read an anomaly in the object count between a replicaset's primary and secondary collection; even though the secondary is not behind the Primary.

      Comparing with
      $ db.master.chunks.stats()

      parameters Primary Secondary 1 Secondary 2
      count 6087983 6087976 6087983

      Secondary 1 has 7 document more than the Primary and Secondary 2.
      A reindex operation does not change that difference.

      An export of all _id fields from secondary 1 produces a list that matches the number of expected objects: 6087983

      What are these 7 extra objects about ? System related documents maybe ? Damaged documuments ? How do I find out ?

            Assignee:
            Unassigned Unassigned
            Reporter:
            lwo Lucien van Wouw
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: