[SERVER-75534] Make sure that the sample rate for each sampler mongos and mongos in read_and_write_distribution.js is non-zero Created: 31/Mar/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding NYC 2023-04-03
Participants:
Linked BF Score: 45

 Comments   
Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75534 Make read_and_write_distribution.js set the fail point manually to avoid complications with configuring it via ShardingTest across suites
Branch: master
https://github.com/mongodb/mongo/commit/5085149757b1c9e81106dbff693d01d0183c7971

Comment by Cheahuychou Mao [ 06/Apr/23 ]

Re-opening this because there is still some issue with setting the failpoint in the config stepdown suite. Given the complication with "shardOptions", "configOptions" and "rs" across suites, I think it makes sense to just set the fail point manually after ShardingTest or ReplSetTest is set up. The fail point will serve its purpose as long as it is set before query sampling is turned on.

Comment by Githook User [ 06/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75534 Add 'configOptions' back in read_and_write_distribution.js since it is needed when the test runs in the non catalog shard suites
Branch: master
https://github.com/mongodb/mongo/commit/c9196405f375b79f0aa63cccd04471b39b1d29c9

Comment by Githook User [ 06/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75534 Make sure that read_and_write_distribution.js also sets the fail point when it runs in the catalog shard suites
Branch: master
https://github.com/mongodb/mongo/commit/e8b6fe12d6a962e537ef2503a22789936f507a3f

Comment by Githook User [ 06/Apr/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75534 Reorganize the fail point predicate and change verbosity level of query sampling log messages
Branch: master
https://github.com/mongodb/mongo/commit/76e4729b1a4537186ab32a299837cd13e5aadae6

Comment by Githook User [ 31/Mar/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-75534 Make sure that the sample rate for each sampler mongos and mongos in read_and_write_distribution.js is non-zero
Branch: master
https://github.com/mongodb/mongo/commit/a775740469e0057b8fbefd957d3b48d0327298cf

Generated at Thu Feb 08 06:30:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.