-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
Query Execution
-
(copied to CRM)
We currently log full document replacement-style updates as "replacement" oplog entries.
We could use the recently introduced diffing code to instead only log the diff between the pre image and post image.
This would have consequences for change streams since some full replacement updates would begin appearing as "update" change events instead of "replacement" change events. Currently (4.4) the only way for users to get a point-in-time post image of an update is by performing a replacement-style update. By using the diffing we would effectively be taking away this unintended "feature."
- is related to
-
SERVER-36405 Update should be smarter about recognizing noop updates by comparing original and "updated" documents
- Backlog
- related to
-
SERVER-58272 Change Streams for complex nested fields
- Closed
-
SERVER-65364 Update logic should pass info about which fields changed to index layer
- Closed
- mentioned in
-
Page Loading...