[SERVER-55971] Ensure all DDL are being tested on jstestfuzz_sharded_continuous_stepdown Created: 09/Apr/21  Updated: 29/Oct/23  Resolved: 17/Sep/21

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-07-12, Sharding EMEA 2021-07-26, Sharding EMEA 2021-08-09, Sharding EMEA 2021-08-23, Sharding EMEA 2021-09-06, Sharding EMEA 2021-09-20
Participants:

 Description   

Now that we're adding support to rename a sharded collection, we want to ensure it works properly in the presence of stepdowns, and historically, fuzzers have been helpful detecting bugs. There are two main things to ensure after the completion of this ticket:

  • The jstestfuzz_sharded_continuous_stepdown suite is using the rename of sharded collections
  • The jstestfuzz_sharded_continuous_stepdown suite is trying the new paths of DDL operations


 Comments   
Comment by Sergi Mateo Bellido [ 16/Sep/21 ]

Not an expert on the mutational fuzzer, but sharding tests don't seem to be filtered out by the fuzzer:

$  npm run jstestfuzz -- --jsTestsDir /home/ubuntu/mongo/jstests/ -d
...
[2021-09-16T11:44:09.123Z debug] Searching for files and directories in /home/ubuntu/mongo/jstests/sharding
[2021-09-16T11:44:09.130Z debug] Searching for files and directories in /home/ubuntu/mongo/jstests/sharding/query
[2021-09-16T11:44:09.131Z debug] Searching for files and directories in /home/ubuntu/mongo/jstests/sharding/load_balancer_support
[2021-09-16T11:44:09.131Z debug] Searching for files and directories in /home/ubuntu/mongo/jstests/sharding/libs
[2021-09-16T11:44:09.131Z debug] Searching for files and directories in /home/ubuntu/mongo/jstests/sharding/change_streams
...

So I believe that our renameCollection tests are considered as inputs. Then I guess that it will depend on the transformations performed by the jstestsfuzzer that we end up testing the environment described above (rename/new DDL path over a sharded collection + jstestsfuzz_sharded_continuous_stepdown).

Generated at Thu Feb 08 05:37:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.