[SERVER-54345] Check for leftover data on shard collection is using namespace, but there is no namespace in config.chunks Created: 05/Feb/21  Updated: 29/Oct/23  Resolved: 22/Feb/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: Sharding-EMEA, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
causes SERVER-54755 ephermeralForTest engine does not imp... Closed
is caused by SERVER-53105 Remove namespace field from config.ch... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

0. Start a shard collection with namespace a.b
1. Fail right after writing to the config.chunks collection, but before writing to config.collections
2. Launch another shard collection with namespace a.b

Participants:
Linked BF Score: 12

 Description   

After SERVER-53105 the config.chunks collection changed to refer chunks from namespace to UUID, however, the shard collection legacy path is still using namespace to check for leftover data, which will cause the path to keep going and fail later on without informing there is some manual intervention needed. This is essential for our test infrastructure on some tests to cleanup and retry the operation.



 Comments   
Comment by Githook User [ 22/Feb/21 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-54345 Remove shard collection leftover data

... of previous failed executions using uuid and wait for majority write concern after index creation on the shard collection legacy path
Branch: master
https://github.com/mongodb/mongo/commit/74925af232e58b0e89bb1f5db654668c59714f79

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