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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.18, 3.6.8, 4.0.3, 4.1.4
    • Fix Version/s: 3.4.19, 3.6.10, 4.0.5, 4.1.5
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      Sharding 2018-11-19

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            esha.maharishi Esha Maharishi
            Reporter:
            esha.maharishi Esha Maharishi
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: