SERVER-43860 Always upsert exact source document for pipeline-insert $merge
(cherry picked from commit 23e55cb3) (cherry picked from commit 70ef84cd)
Showing
- jstests/aggregation/sources/merge/all_modes.js 4 additions, 2 deletionsjstests/aggregation/sources/merge/all_modes.js
- jstests/aggregation/sources/merge/mode_pipeline_insert.js 83 additions, 54 deletionsjstests/aggregation/sources/merge/mode_pipeline_insert.js
- jstests/core/update_with_pipeline.js 56 additions, 2 deletionsjstests/core/update_with_pipeline.js
- jstests/multiVersion/agg_merge_upsert_supplied_cluster.js 226 additions, 0 deletionsjstests/multiVersion/agg_merge_upsert_supplied_cluster.js
- jstests/multiVersion/agg_merge_upsert_supplied_replset.js 90 additions, 0 deletionsjstests/multiVersion/agg_merge_upsert_supplied_replset.js
- jstests/sharding/upsert_sharded.js 211 additions, 47 deletionsjstests/sharding/upsert_sharded.js
- src/mongo/db/SConscript 1 addition, 0 deletionssrc/mongo/db/SConscript
- src/mongo/db/commands/write_commands/write_commands.cpp 1 addition, 0 deletionssrc/mongo/db/commands/write_commands/write_commands.cpp
- src/mongo/db/exec/update_stage.cpp 58 additions, 281 deletionssrc/mongo/db/exec/update_stage.cpp
- src/mongo/db/exec/update_stage.h 35 additions, 69 deletionssrc/mongo/db/exec/update_stage.h
- src/mongo/db/exec/upsert_stage.cpp 301 additions, 0 deletionssrc/mongo/db/exec/upsert_stage.cpp
- src/mongo/db/exec/upsert_stage.h 76 additions, 0 deletionssrc/mongo/db/exec/upsert_stage.h
- src/mongo/db/field_ref_set.cpp 21 additions, 0 deletionssrc/mongo/db/field_ref_set.cpp
- src/mongo/db/field_ref_set.h 18 additions, 4 deletionssrc/mongo/db/field_ref_set.h
- src/mongo/db/ops/parsed_update.cpp 17 additions, 0 deletionssrc/mongo/db/ops/parsed_update.cpp
- src/mongo/db/ops/update_request.h 21 additions, 18 deletionssrc/mongo/db/ops/update_request.h
- src/mongo/db/ops/write_ops.idl 5 additions, 0 deletionssrc/mongo/db/ops/write_ops.idl
- src/mongo/db/ops/write_ops_exec.cpp 1 addition, 0 deletionssrc/mongo/db/ops/write_ops_exec.cpp
- src/mongo/db/pipeline/aggregation_request.cpp 8 additions, 0 deletionssrc/mongo/db/pipeline/aggregation_request.cpp
- src/mongo/db/pipeline/aggregation_request.h 13 additions, 0 deletionssrc/mongo/db/pipeline/aggregation_request.h
Please register or sign in to comment