Add causal consistent passthrough suite

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: