[DOCS-13095] Investigate changes in SERVER-40435: A clearJumboChunk command to clear the jumbo flag Created: 11/Oct/19  Updated: 13/Nov/23  Resolved: 29/Jan/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.3, 4.0.15, 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: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-40435 A clearJumboChunk command to clear th... Closed
Participants:
Days since reply: 4 years, 1 day ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

New clearJumboChunk command for clearing jumbo flag in chunks

Description of Linked Ticket

Currently the steps to clear the jumbo flag for a chunk is quite complicated, prone to user error, and requires modifying the config database. It would be nice to support a clearJumboChunk command on the mongos, which goes through the proper versioning protocol and doesn't require direct access to the config servers.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

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



 Comments   
Comment by Githook User [ 11/Feb/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13095: clearJumboFlag command
Branch: v4.2
https://github.com/mongodb/docs/commit/4e11f8a2f3064e1ec2b2f0b303e516a3dd3a20b5

Comment by Githook User [ 29/Jan/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13095: clearJumboFlag command
Branch: v4.0
https://github.com/mongodb/docs/commit/c8767cfd668b25013d1cc1a5df29a7e4048445d1

Comment by Githook User [ 29/Jan/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13095: clearJumboFlag command
Branch: v4.2
https://github.com/mongodb/docs/commit/4e11f8a2f3064e1ec2b2f0b303e516a3dd3a20b5

Comment by Githook User [ 29/Jan/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13095: clearJumboFlag command
Branch: master
https://github.com/mongodb/docs/commit/8d1cb44c5edcb41f107fbf5a365759151cbdf8ec

Comment by Randolph Tan [ 11/Oct/19 ]

And similar to the moveChunk command, the collection major version is increased by 1 when this command actually clears the jumbo flag.

Comment by Randolph Tan [ 11/Oct/19 ]

The command has very similar api to moveChunk to specify the chunk you want to clear. Example usage for range-based shard keys:

https://github.com/mongodb/mongo/blob/a3e787c2a1051c0787af09a700a872a1271b491e/jstests/sharding/clear_jumbo.js#L30

Example for hashed-based shard keys:

https://github.com/mongodb/mongo/blob/a3e787c2a1051c0787af09a700a872a1271b491e/jstests/sharding/clear_jumbo.js#L54

Requires clearJumboFlag action type:
https://github.com/mongodb/mongo/blob/a3e787c2a1051c0787af09a700a872a1271b491e/src/mongo/db/auth/role_graph_builtin_roles.cpp#L251

which is added to the clusterManager role by default.

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