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

Add causal consistent passthrough suite

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.7
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2017-05-08, Sharding 2017-05-29

    Description

      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.

      Attachments

        Activity

          People

            misha.tyulenev@mongodb.com Misha Tyulenev
            misha.tyulenev@mongodb.com Misha Tyulenev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: