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

refine_collection_shard_key_basic.js shouldn't check for changelog entries on sharding_csrs_continuous_config_stepdown suite

    • Fully Compatible
    • ALL
    • Sharding 2020-01-27
    • 16

      refine_collection_shard_key_basic.js checks if entries associated with refineCollectionShardKey are correctly inserted into the changelog.
      In the case that the primary stepdown do to a failure, it is not guaranteed that these entries are committed on the changelog.
      In particular for every refineCollectionShardKey operation it could be possible to have:

      • one or more `refineCollectionShardKey.start` entry in the changelog SERVER-43201
      • one or zero `refineCollectionShardKey.end` entry in the changelog. SERVER-44099

      Unfortunately the two implemented solution failed to address the problem.

      The bug was introduced by:
      https://github.com/mongodb/mongo/commit/76208a78621cfe67d417a5781f9202580f1b2608

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: