[SERVER-30958] Run the fuzzer with causal consistency enabled Created: 05/Sep/17  Updated: 30/Oct/23  Resolved: 09/Oct/17

Status: Closed
Project: Core Server
Component/s: Sharding, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: sharding36-passthrough-testing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-10-02, TIG 2017-10-23
Participants:

 Description   

Until SERVER-30679 is implemented, setting causallyConsistentReads=true in the mongo shell's SessionOptions object won't cause "afterClusterTime" to be injected into the readConcern of the command request. In order to test the fuzzer with causal consistency enabled without waiting for those changes, we should call Mongo.prototype.setCausalConsistency() directly on the connection object via load("jstests/libs/override_methods/enable_causal_consistency.js").

A new resmoke.py YAML suite and Evergreen tasks should be defined to run the fuzzer with causal consistency enabled. The YAML suite should be adapted from the existing jstestfuzz_sharded.yml and causally_consistent_jscore_passthrough.yml suites where it'll run tests from the jstestfuzz/out/ directory against a sharded cluster with two replica set shards. Additionally, the new suite should define a TestData.runningWithCausalConsistency=true option so that the fuzzer can implement configuration-specific blacklisting similar to what is done with TestData.ignoreCommandsIncompatibleWithInitialSync=true in the jstestfuzz_replication_initsync.yml test suite.

Names of new resmoke.py YAML suites
  • jstestfuzz_sharded_causal_consistency.yml
Names of new Evergreen tasks
  • jstestfuzz_sharded_causal_consistency
  • jstestfuzz_sharded_causal_consistency_WT
  • jstestfuzz_concurrent_sharded_causal_consistency
  • jstestfuzz_concurrent_sharded_causal_consistency_WT

The new Evergreen tasks should be run on the following build variants:

  • Enterprise RHEL 6.2
  • Enterprise RHEL 6.2 (inMemory)
  • SSL Windows 2008R2
  • SSL OS X 10.10
  • ASAN SSL Ubuntu 16.04


 Comments   
Comment by Githook User [ 09/Oct/17 ]

Author:

{'email': 'ian.boros@10gen.com', 'name': 'Ian Boros'}

Message: SERVER-30958: Add yml file for jstestfuzz_sharded_causal_consistency
Branch: master
https://github.com/mongodb/mongo/commit/574f5ae3d799ff2ba551200157495104ad697e96

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