[SERVER-19010] support sending and receiving metadata in RemoteCommandRunner Created: 17/Jun/15  Updated: 05/Feb/16  Resolved: 26/Jun/15

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

Type: Task Priority: Major - P3
Reporter: Adam Midvidy Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18153 Implement command repldata responses Closed
Backwards Compatibility: Fully Compatible
Sprint: RPL 5 06/26/16
Participants:

 Description   

We should add a metadata BSONObj to both RemoteCommandResponse and RemoteCommandRequest. Then the implementation should use runCommandWithMetadata instead of runCommand



 Comments   
Comment by Githook User [ 26/Jun/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-19010 remove the metadata-free constructor of RemoteCommandResponse
Branch: master
https://github.com/mongodb/mongo/commit/20273cf8122556935a2fc6042ad5ccc498782955

Comment by Githook User [ 26/Jun/15 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-19010 support sending and receiving metadata in RemoteCommandRunner
Branch: master
https://github.com/mongodb/mongo/commit/f6c46a59105647f4db0c01236c1ea38ca2db70a5

Comment by Adam Midvidy [ 17/Jun/15 ]

this is also needed for renctan's distributed_lock_catalog, as it needs to read electionId off the GLEStats sent on the metadata object of a command reply.

Generated at Thu Feb 08 03:49:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.