[SERVER-22628] Extract the moveChunk command construction and parsing into a separate class Created: 16/Feb/16  Updated: 16/Mar/16  Resolved: 26/Feb/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.3

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 11 (03/11/16)
Participants:

 Description   

Currently the moveChunk command parsing and construction is done ad-hoc by directly writing into BSON objects, which makes it difficult to validate and extend.

This task is to extract its construction and parsing into a separate class.



 Comments   
Comment by Githook User [ 26/Feb/16 ]

Author:

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

Message: SERVER-22628 MoveChunkRequest for constructing moveChunk commands

Introduce a MoveChunkRequest class to construct and parse moveChunk
commands with unit-tests and use this utility on the mongos side.
Branch: master
https://github.com/mongodb/mongo/commit/b1c6d8020dd2597a027dcf876d714029dfb4648a

Comment by Githook User [ 23/Feb/16 ]

Author:

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

Message: SERVER-22628 Use MigrationSecondaryThrottleOptions for parsing the balancer settings
Branch: master
https://github.com/mongodb/mongo/commit/e269b96f37cbc8e733bf603dbd55b4bb2e8cd753

Comment by Githook User [ 17/Feb/16 ]

Author:

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

Message: SERVER-22628 Sharding secondary throttle parsing into separate class

Unifies all sharding secondary throttle construction and parsing into a
separate class, similarly to what we do for other commands, which need to
be serialized/deserialized from BSON.
Branch: master
https://github.com/mongodb/mongo/commit/9299908ecce87efded5f16980824490b8933678e

Generated at Thu Feb 08 04:00:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.