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

Unify the formats used by the find and write commands for specifying shard version metadata

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Sharding, Write Ops
    • None
    • Fully Compatible
    • Sharding 9 (09/18/15)

      find command sets shardVersion as a top-level field, and the Command running framework parses it out and sets it on the operation context.
      Write commands, on the other hand, set shardVersion nested in a "metadata" field and are responsible for extracting the version themselves.

      We should unify these.

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: