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

Add causal consistent passthrough suite

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.7
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 2017-05-08, Sharding 2017-05-29

      Add causal consistent passthrough test.
      run jsCore to mongos with setCausalConsistency(true)

      1. buildscripts/resomkelib/testing/fixtures/shardedcluster.py: add an c-tor option rs_num_nodes that if present should be passed to _new_shard and start a ReplicaSetFixture instead of standalone shard.
      2. add jstests/libs/override_methods/set_causal_consistent.js that may override Mongo or DB methods to set read_preference to secondary and calls

      this.getMongo().setCausalConsistency()
      

      3. add buildscripts/resmokeconfig/suites/causal_consistent_jscore_passthrough.yml file that is a based on sharded_collections_jscore_passthrough.yml
      that passes the rs_num_nodes=3 to the ShardedClusterFixture.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: