[SERVER-82953]  CreateCollectionCoordinator::checkIfOptionsConflict should be more verbose Created: 08/Nov/23  Updated: 27/Nov/23  Resolved: 09/Nov/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 7.2.0-rc0, 5.0.22, 6.0.11, 7.0.3
Fix Version/s: 7.3.0-rc0, 7.2.0-rc2, 7.0.5, 6.0.13, 5.0.24

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

Issue Links:
Backports
Assigned Teams:
Catalog and Routing
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2, v7.1, v7.0, v6.0, v5.0
Sprint: CAR Team 2023-11-13
Participants:

 Description   

When DDL operations are erroring due to a coordinator already being instantiated on the same namespace with different parameters, we usually include in the assertion the request that spawned the ongoing DDL (e.g. in the rename coordinator).

This helps debugging issues because the logged assertion will both contain the failed and the running DDL commands. Purpose of this ticket is to implement a similar pattern in the create coordinator that has never included the original request so far.



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

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-82953 log original request when shardCollection operations conflict
Branch: v5.0
https://github.com/mongodb/mongo/commit/0ee1c4ba4509714e5592cb1a2becaeb7aed32d0a

Comment by Githook User [ 27/Nov/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-82953 log original request when shardCollection operations conflict
Branch: v6.0
https://github.com/mongodb/mongo/commit/3e89154c21924192c3763ef17078651941951643

Comment by Githook User [ 27/Nov/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-82953 log original request when shardCollection operations conflict
Branch: v7.0
https://github.com/mongodb/mongo/commit/f79610d9094d3826783d31f2caa7bfccf9da4832

Comment by Githook User [ 24/Nov/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-82953 log original request when shardCollection operations conflict
Branch: v7.2
https://github.com/mongodb/mongo/commit/29c5df59823186ddea084c8060af40658b3b6126

Comment by Githook User [ 09/Nov/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-82953 log original request when shardCollection operations conflict
Branch: master
https://github.com/mongodb/mongo/commit/690fa8ddbeccf739d963d11ddc2d6d1cc8413da5

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