[DOCS-14318] Investigate changes in SERVER-52770: Add abortReshardCollection command for users to cancel the resharding operation Created: 29/Mar/21  Updated: 13/Nov/23  Resolved: 07/Jul/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 5.0.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Naomi Pentrel (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-52770 Add abortReshardCollection command fo... Closed
Participants:
Days since reply: 2 years, 30 weeks, 5 days ago
Epic Link: DOCSP-9747

 Description   

Description

Downstream Change Summary

abortReshardCollection is a command that will take in a given namespace, and abort the currently-running resharding operation. More details in the ticket description around defining success/failure when running this command.

Description of Linked Ticket

Introducing a separate command for users to cancel a resharding operation has advantages over hooking into the existing killOp command, namely customizing the error responses.

db.adminCommand({abortReshardCollection: "<database>.<collection>"});

  • An error will be returned if the resharding operation can no longer be canceled due to the coordinator already having begun to instruct the recipient shards to rename the temporary resharding collection.
  • An error will be returned if there's no resharding operation in progress for the namespace.
  • On success, the abortReshardCollection command will have waited for the coordinator to have forgotten about the resharding operation. It is therefore possible to immediately run a new reshardCollection command after the abortReshardCollection succeeds.
    • The abortReshardCollection command should either require w:majority or automatically imply it.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



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

Author:

{'name': 'Naomi Pentrel', 'email': '5212232+npentrel@users.noreply.github.com', 'username': 'npentrel'}

Message: DOCS-14318: Clarify abortReshardCollection
Branch: master
https://github.com/mongodb/docs/commit/9c7d2611c201a7086873ae0fa27a2152f4cbfc97

Comment by Naomi Pentrel (Inactive) [ 07/Jul/21 ]

Will be published with DOCSP-16381

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