[SERVER-46332] Multiversion passthroughs not properly assigning binary versions to mixed version replica sets Created: 21/Feb/20  Updated: 29/Oct/23  Resolved: 04/Mar/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

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

Issue Links:
Backports
Depends
depends on SERVER-46551 Do not set sharding migration log com... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2020-03-23
Participants:
Linked BF Score: 50

 Description   

Seems like in standalone.py, if config.MONGOD_EXECUTABLE is set through the command line, we prioritize using that version over the binary version assigned in ReplicaSetFixture. However, SERVER-44420 made changes such that the config options for MONGOD_EXECUTABLE will never be None. As a result, the binary version assigned in RepliaSetFixture will never be used, as we always give priority to config.MONGOD_EXECUTABLE.

Currently, as a result, all multiversion passthrough tests are actually running replica sets with 4.3 binaries, which is giving us false test coverage. 



 Comments   
Comment by Githook User [ 05/Mar/20 ]

Author:

{'username': 'XueruiFa', 'name': 'Xuerui Fa', 'email': 'xuerui.fa@mongodb.com'}

Message: SERVER-46551: Add separate default log verbosities for last stable mongo binaries

(cherry picked from commit 2d81ba278524e2b3b560552ac983435ad0d2bda0)

SERVER-46332: Assign correct binary version to nodes in mixed version passthrough tests

(cherry picked from commit 79b35bf74b709955c967446b008f36f181569057)
Branch: v4.4
https://github.com/mongodb/mongo/commit/abd7daa5fce90afa115c808f1404a6854754d456

Comment by Githook User [ 04/Mar/20 ]

Author:

{'name': 'Xuerui Fa', 'username': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com'}

Message: SERVER-46332: Assign correct binary version to nodes in mixed version passthrough tests
Branch: master
https://github.com/mongodb/mongo/commit/79b35bf74b709955c967446b008f36f181569057

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