[SERVER-54283] Move the legacy dropDatabase/Collection path to execute from the shard Created: 04/Feb/21  Updated: 29/Oct/23  Resolved: 09/Feb/21

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

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-1965-Milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-54354 New create collection path does not c... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-02-22
Participants:
Linked BF Score: 31

 Description   

Currently, the shard forwards the legacy dropDatabase/Collection paths to execute on the config server. This however causes DistLock conflicts with locks which are now taken by the shard.



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

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-54283 Move the legacy dropDatabase/Collection path to execute from the shard

... rather than forwarding to the config server
Branch: master
https://github.com/mongodb/mongo/commit/4a2571bb8ef9b0844f61dc1c780e88c555172458

Comment by Githook User [ 06/Feb/21 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-54283 Make the checks for new sharded DDL code path be uniform
Branch: master
https://github.com/mongodb/mongo/commit/7664a855f33bbe7e0f77cee78cb07e564a4f0c4c

Comment by Githook User [ 05/Feb/21 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: Revert "SERVER-54283 Make the checks for new sharded DDL code path be uniform"

This reverts commit 12585ccedf9215901d21351d6f5da9f2dd337395.
Branch: master
https://github.com/mongodb/mongo/commit/39da42536af53f23b92cc0f4cab02586859dc777

Comment by Githook User [ 05/Feb/21 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-54283 Make the checks for new sharded DDL code path be uniform
Branch: master
https://github.com/mongodb/mongo/commit/12585ccedf9215901d21351d6f5da9f2dd337395

Comment by Tommaso Tocci [ 05/Feb/21 ]

kaloian.manassiev I think that you can also re-enable the basic_drop_coll.js test in the sharding_continuous_config_stepdown.yml suite in the context of this ticket.

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