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

Load implicitly_shard_accessed_collections.js for secondary read preference causal consistency concurrency suite

    • Fully Compatible
    • Sharding 2017-10-02

      Add load('implicitly_shard_accessed_collections.js') to worker_thread.js if args.sessionOptions.readPreference is set. This ticket will involve investigating workloads that may be incompatible with the override and need to be blacklisted.

      Some known blacklists are:

      • explain*.js workloads - they assert a collection does not exist, but the override may recreate it
      • reindex*.js workloads - they make assertions on the number of indexes, but an extra one will be created for {_id: "hashed"}

      Potential blacklists:

      • drop_collection.js
      • kill_rooted_or.js, kill_aggregation.js

      These workloads frequently timeout waiting for the distributed lock, which may be related to the override causing more load on the config server

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: