Currently we cannot correctly update the shard key value for a document for replacement style and pipeline updates because we target using the update field and so would not delete the original document. After SERVER-39158 is done we should be able to correctly do this, so we should test this behavior.
- depends on
-
SERVER-39158 Change updates to prefer target by the query
- Closed