[SERVER-79632] Stop range deletion when hashed shard key index does not exist Created: 02/Aug/23  Updated: 29/Oct/23  Resolved: 01/Sep/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 5.0.22, 7.0.3, 6.0.12

Type: Task Priority: Major - P3
Reporter: Sanika Phanse (Inactive) Assignee: Sanika Phanse (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
is related to SERVER-47025 moveChunk after refine shard key can ... Closed
is related to SERVER-78863 Audit places in the codebase that rel... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0, v6.0, v5.0
Sprint: Sharding NYC 2023-08-07, Sharding NYC 2023-08-21, Sharding NYC 2023-09-04
Participants:
Linked BF Score: 152

 Description   

Currently, range deletion gets stuck searching for an index to complete an indexScan for deletion. In the case of a hashed shard key index, we will allow skipping range deletion for the collection. This may lead to orphan documents remaining on the shards, but we will solve this with documentation by recommending that a user drain orphan documents before deleting their index.



 Comments   
Comment by Githook User [ 06/Oct/23 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-79632 Stop range deletion when hashed shard key index does not exist
Branch: v5.0
https://github.com/mongodb/mongo/commit/be2d7612da45912d8ca9244554fa805e34ceb38b

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-79632 Stope range deletion when hashed shard key index does not exist
Branch: v6.0
https://github.com/mongodb/mongo/commit/8435347b828a81310d625296df07b199b869f268

Comment by Githook User [ 19/Sep/23 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-79632 Stop range deletion when hashed shard key index does not exist
Branch: v7.0
https://github.com/mongodb/mongo/commit/6fbdb80dbba89a2ac2eefdf7083a66df79cd8739

Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Sanika Phanse', 'email': 'sanika.phanse@mongodb.com', 'username': 'sphanse99'}

Message: SERVER-79632 Stop range deletion when hashed shard key index does not exist
Branch: master
https://github.com/mongodb/mongo/commit/df06d8718f78715c7b5f2be3f40a4708493dd671

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