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

XMLWordPrintableJSON

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

      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 Brody (Inactive)
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: