[SERVER-28968] Add causal consistent passthrough suite Created: 25/Apr/17  Updated: 30/Oct/23  Resolved: 06/May/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.5.7

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2017-05-08, Sharding 2017-05-29
Participants:

 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.



 Comments   
Comment by Githook User [ 06/May/17 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-28968: Add causal consistent passthrough suite
Branch: master
https://github.com/mongodb/mongo/commit/2c18910e75b78ed228ea5f600f51ca4fa6f1aaf6

Comment by Misha Tyulenev [ 27/Apr/17 ]

max.hirschhorn wdyt ?

Generated at Thu Feb 08 04:19:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.