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

Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.19, 3.6.10, 4.0.5, 4.1.5
    • Affects Version/s: 3.4.18, 3.6.8, 4.0.3, 4.1.4
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v4.0, v3.6, v3.4
    • Sharding 2018-11-19

      This part of the test attempts to prove that a mongos can discover through the shard versioning protocol when an unsharded collection is dropped, movePrimary occurs, and the collection is recreated.

      This is not expected to work, but the test passes because the test asserts that a stale mongos (one that believes the collection is still on the old primary shard) can see writes done by a fellow stale mongos (also believes collection is still on the old primary shard).

      The movePrimary was done from a third mongos.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: