[SERVER-81517] blacklist validate_db_metadata_command.js from migrations suite Created: 28/Sep/23  Updated: 11/Jan/24  Resolved: 17/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.3.0, 7.0.0, 7.1.0, 7.3.0-rc0, 7.2.0-rc3
Fix Version/s: 7.2.1, 7.3.0-rc0, 7.0.5

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

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-43099 Reenable random chunk migration failp... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2, v7.0
Sprint: Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30, CAR Team 2023-11-13, CAR Team 2023-11-27
Participants:
Linked BF Score: 3

 Description   

The test performs the following operation

  • create an invalid index
  • drop the invalid index
  • run validateDbMetadata and check no errors are returned

However, due to migrations the following might happen:

  • Drop starts
  • Migration from shard0 to shard1 starts
  • Migration starts creation of index on shard1
  • Drop index drops on shard0 but not shard1 (not committed yet)
  • Migration now commits the create index on shard1

in this case, we have left an invalid index on shard1, which will make the test failing. The test should stay black-listed until PM-2077 is completed which should solve the known issue.



 Comments   
Comment by Githook User [ 08/Jan/24 ]

Author:

{'name': 'egol', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-81517 blacklist validate_db_metadata_command.js from migrations suite
Branch: v7.2
https://github.com/mongodb/mongo/commit/84158eedd7b3cd4582f51ffcdf84a73520813e5d

Comment by Githook User [ 04/Dec/23 ]

Author:

{'name': 'egol', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-81517 blacklist validate_db_metadata_command.js from migrations suite

GitOrigin-RevId: e7ea0fa5eb42e17d68f991521d164e53d0be67c3
Branch: v7.0
https://github.com/mongodb/mongo/commit/c98f672965cb37583148c9060eb9fbdf37b4b6d4

Comment by Githook User [ 15/Nov/23 ]

Author:

{'name': 'egol', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-81517 blacklist validate_db_metadata_command.js from migrations suite
Branch: master
https://github.com/mongodb/mongo/commit/344d30c4766ec8d7d96454d6a24bdf2daddc62dc

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