Duplicate _id when reading from secondaries on a sharded cluster

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.7
    • Component/s: Sharding
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We find there the same _id exist on different sharding, but we set different mode in client to query this _id data ,there will be different results, such as when we use the primary mode query returns only one data

      { "_id" : ObjectId("561fce30fd902e1234426ba7"), "adGroupId" : 6025696187079 }

      when we use secendaryPreferred or primaryPreferred mode query returns two data

      { "_id" : ObjectId("561fce30fd902e1234426ba7"), "adGroupId" : 6025696187079 } { "_id" : ObjectId("561fce30fd902e1234426ba7"), "adGroupId" : 6025696187079 }

              Assignee:
              Unassigned
              Reporter:
              giser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: