[SERVER-34214] create TypedCommand example Created: 30/Mar/18  Updated: 29/Oct/23  Resolved: 04/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.0.0

Type: Improvement Priority: Minor - P4
Reporter: Billy Donahue Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-04-09, Platforms 2018-04-23, Platforms 2018-05-07
Participants:
Linked BF Score: 7

 Description   

Choose one or more real Command classes to convert to TypedCommand.



 Comments   
Comment by Githook User [ 04/May/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-34214 convert some simple commands to TypedCommand

Comment by Githook User [ 02/May/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-34214 TypedCommand _flushDatabaseCacheUpdates
Branch: master
https://github.com/mongodb/mongo/commit/8ee6a9c1993acf7981d4d7a0ac8ba6f808c23b60

Comment by Billy Donahue [ 24/Apr/18 ]

Attaching submitted https://mongodbcr.appspot.com/198440001/

Comment by Githook User [ 24/Apr/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue', 'name': 'Billy Donahue'}

Message: SERVER-34214 TypedCommand _flushRoutingTableCacheUpdates (fixes 052bc57)
Branch: master
https://github.com/mongodb/mongo/commit/7ce2b935244b006c73bce84fd34c4c77a6974c7c

Comment by Githook User [ 24/Apr/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue', 'name': 'Billy Donahue'}

Message: SERVER-34214 TypedCommand for _flushRoutingTableCacheUpdates
Branch: master
https://github.com/mongodb/mongo/commit/052bc57ebd47a979c72b00828d28a3c7f72e48aa

Comment by Githook User [ 19/Apr/18 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue', 'name': 'Billy Donahue'}

Message: SERVER-34214 getDatabaseVersion as TypedCommand
Branch: master
https://github.com/mongodb/mongo/commit/ffc12520c4ffbe816f7068637869bfca8761691c

Comment by Billy Donahue [ 17/Apr/18 ]

Review URL https://mongodbcr.appspot.com/197580001

Comment by Billy Donahue [ 17/Apr/18 ]

will try to convert moveChunk. (not using IDL so probably too hard)

kal suggests:
_configsvrBalancerStart ?
_configsvrCreateDatabase and _configsvrCreateCollection should be using IDL

Comment by Billy Donahue [ 06/Apr/18 ]

Looking into using src/mongo/db/s/get_database_version_command.cpp as an example.

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