Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18153

Implement command repldata responses

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Querying, Replication
    • None
    • Fully Compatible
    • RPL 4 06/05/15, RPL 5 06/26/16

      Spec:
      Repl response is included when requested via $replData field in OP_CMD metadata, or at the end of command args for legacy OP_QUERY $cmd-style commands. OpCommand downconvert code should take care of this automatically.

      Repl response is provided for any command, including find and getmore commands. The response must be scheduled via the replication coordinator and fetch the data out of the topology coordinator.

      The response data needs to be threaded into the metadata class (metadata.h). The metadata class cannot be linked to the replication system, so we will need a way to shuttle the information to it, possibly via the operation context.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: