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

Secondary collection contains more objects than primary

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Cannot Reproduce
    • Icon: Trivial - P5 Trivial - P5
    • None
    • 2.4.9
    • Replication
    • None

    Description

      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 ?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: