[JAVA-3762] Delete event does not trigger for targeted data in Change Streams Created: 15/Jun/20 Updated: 15/Jun/20 Resolved: 15/Jun/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Change Streams |
| Affects Version/s: | 4.0.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | shivadarshan j | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows 10, stand alone program for testing |
||
| Description |
|
Change streams in mongodb java driver, I am getting events for update, replace and insert. but Delete event does not trigger when you provide filters in pipeline. It works when filters are not provided. Please let me know if there is any way to get delete event for targeted data.. |
| Comments |
| Comment by shivadarshan j [ 15/Jun/20 ] |
|
Hi Bhargava, There is a bug in change streams. Delete event is not triggering in case of targeted data. If you need more info, i can send you code and detailed information Regards, shivadarshan |
| Comment by Esha Bhargava [ 15/Jun/20 ] |
|
Thanks for your report. Please note that this project is for reporting bugs or feature suggestions for the driver. For MongoDB-related support discussion please post on the MongoDB Community Forums. A question like this involving more discussion would be best posted on the MongoDB community. |