[SERVER-41086] Can mongo change stream return updated fields in case of replace operation Created: 10/May/19 Updated: 10/May/19 Resolved: 10/May/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Lavanya Kondragunta | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Participants: |
| Description |
|
We are using mongo changestream to watch couple of collections In our microservice java code we are using mongoTemplate.save in some places to update the document. changestream is picking it as "replace" operation and not showing updatedFields. Is it possible to just include what fields to updated in updatedescription? |
| Comments |
| Comment by Lavanya Kondragunta [ 10/May/19 ] |
|
This is a feature suggestion. It would be great to know what fields were updated as part of UpdateDescription for replace operation. |
| Comment by Danny Hatcher (Inactive) [ 10/May/19 ] |
|
Hello, The SERVER project is for bugs and feature suggestions for the MongoDB server. If you have questions about MongoDB that isn't sufficiently answered by our documentation, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. |