Allow setting destined recipient in oplog entries

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2020-08-10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The "reshardDest" field should be added to the DurableReplOperation struct.

      {
          op: 'i' | 'u' | 'd',
          ns: "<database>.<collection>", ui: <existingUUID>,
          reshardDest: "<recipientShardId>",
          o: { ... }, ...
      }
      

      And the destined recipient should be added as a parameter to OplogEntry::OplogEntry() and makeOplogEntryDoc(). Consider using boost::optional<ShardId> here and the shard_id type in oplog_entry.idl.

              Assignee:
              Janna Golden
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: