[SERVER-73711] Create Shell Helpers for autoMerger Administration Created: 07/Feb/23  Updated: 29/Oct/23  Resolved: 17/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Matt Panton Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by MONGOSH-1375 Create Shell Helpers for autoMerger A... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20
Participants:

 Description   

For the new automerger that will be released in MongoDB version 7.0 please create a shell helpers to allow customers to start and stop automerging in a similar manner they can start and stop the balancer today via mongosh. Additionally customers should be able to enable or disable the automerger via an option in the configureCollectionBalancing command.

Proposed syntax:

Global automerger start and stop commands:

sh.startAutoMerger()

sh.stopAutoMerger()

 

Enabling and disabling automerger per collection via shell helper:

sh.enableAutoMerge(<namespace>)

sh.disableAutoMerge(<namespace>)



 Comments   
Comment by Githook User [ 16/Mar/23 ]

Author:

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

Message: SERVER-73711 Create Shell Helpers for autoMerger Administration
Branch: master
https://github.com/mongodb/mongo/commit/45dd7d5bf61ba855ca081e26d245adde1dac1440

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