Obey read preference and utilize readConcern during lookup of an update post image during change stream

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v3.6
    • Repl 2017-11-13, Repl 2017-12-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When using a change stream with fullDocument='updateLookup' against a sharded collection, the lookup will happen from mongos to the shards. This lookup should obey the read preference of the original command.

      We should also use readConcern majority for this update, and use afterClusterTime to ensure we don't target to a secondary which is lagged behind the node that generated the change event.

              Assignee:
              Charlie Swanson
              Reporter:
              Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: