[SERVER-70993] Create new multiversion base suites for update fuzzers Created: 01/Nov/22  Updated: 29/Oct/23  Resolved: 14/Nov/22

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

Type: Bug Priority: Major - P3
Reporter: Ivan Fefer Assignee: Tausif Rahman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-70353 Support fast path projection for excl... Closed
Problem/Incident
causes SERVER-75325 update fuzzer gen only tests against ... Open
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Some of our code sets binVersion for each node in ReplSetTest options.

Here we take our node-specific options and merge them into options object:
https://github.com/mongodb/mongo/blob/05518f9b480f4f65fc963b47ef4cf45c9e4807b5/src/mongo/shell/replsettest.js#L2782

And in the next code block we override binVersion with "latest" or useRandomBinVersionsWithinReplicaSet: https://github.com/mongodb/mongo/blob/05518f9b480f4f65fc963b47ef4cf45c9e4807b5/src/mongo/shell/replsettest.js#L2795

We also state that setting both binVersion and useRandomBinVersionsWithinReplicaSet is incorrect, but we check that before we merge node-specific options:
https://github.com/mongodb/mongo/blob/05518f9b480f4f65fc963b47ef4cf45c9e4807b5/src/mongo/shell/replsettest.js#L2754

We also set FCV based on node-specific binVersion values: 
https://github.com/mongodb/mongo/blob/05518f9b480f4f65fc963b47ef4cf45c9e4807b5/src/mongo/shell/replsettest.js#L1363
https://github.com/mongodb/mongo/blob/05518f9b480f4f65fc963b47ef4cf45c9e4807b5/src/mongo/shell/replsettest.js#L1435

Which leads to an interesting situation when, for example, update fuzzers think they compare 6.0 with 6.2, but actually they compare 6.2 with and without 6.0 FCV.

It would be great if we can change the behaviour of useRandomBinVersionsWithinReplicaSet to use binVersion instead of “latest” and allow setting both fields.


We have gone with the solution suggested in the comments. The above will be done in a separate ticket: SERVER-71320



 Comments   
Comment by Githook User [ 14/Nov/22 ]

Author:

{'name': 'Tausif Rahman', 'email': 'tausif.rahman@mongodb.com', 'username': 'trahman1318'}

Message: SERVER-70993 Create new multiversion base suites for update fuzzers
Branch: master
https://github.com/mongodb/mongo/commit/15691de19a50451bfe8d2132ac06a364dff8e0f3

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