[SERVER-81340] CheckMetadataConsistency hook is not compatible with integration_tests_sharded suite Created: 22/Sep/23  Updated: 02/Nov/23  Resolved: 30/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.1.0-rc0
Fix Version/s: 7.1.1, 7.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Robert Sander
Resolution: Fixed Votes: 0
Labels: shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-76982 Enable CheckMetadataConsistencyInBack... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.1
Sprint: Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30, CAR Team 2023-11-13
Participants:
Linked BF Score: 5
Story Points: 1

 Description   

CheckMetadataConsistency hook relies on the isMaster command to asses if the fixture cluster is sharded.

In the integration_tests_sharded suite we run at least two tests (1, 2) that set a failPoint to make the isMaster command to unconditionally fail, thus if the CheckMetadataConsistency hook runs while the fail point is set it will fail.

 

I can think of two possible solution here:



 Comments   
Comment by Githook User [ 02/Nov/23 ]

Author:

{'name': 'Robert Sander', 'email': 'robert.sander@mongodb.com', 'username': 'robsndr'}

Message: SERVER-81340 Don't run CheckMetadataConsistency for incompatible test in integration_tests_sharded suite

(cherry picked from commit 11871186a5ed0d376dda8efa595c2cbab5087eb4)
Branch: v7.1
https://github.com/mongodb/mongo/commit/8a7d0eaae214f25f3e19afaa0fff46265cfbc314

Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Robert Sander', 'email': 'robert.sander@mongodb.com', 'username': 'robsndr'}

Message: SERVER-81340 Don't run CheckMetadataConsistency for incompatible test in integration_tests_sharded suite
Branch: master
https://github.com/mongodb/mongo/commit/11871186a5ed0d376dda8efa595c2cbab5087eb4

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