[SERVER-11753] Allow findAndModify/Update to use a tailable cursor (w/await_data) Created: 18/Nov/13  Updated: 06/Dec/22

Status: Open
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: features we're not sure of

Type: New Feature Priority: Major - P3
Reporter: Matt Parlane Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 12
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-33121 Add updated/deleted _id's to response... Closed
Assigned Teams:
Query Execution
Participants:

 Description   

If one wanted to create a distributed message queue using MongoDB, the way to go about it would be to use tailable cursors to avoid having to poll, and use findAndModify to avoid the same message going to multiple consumers.

Either of these options are available separately, but not together. Having these two options available together would make MongoDB able to be used as a really nice message queue.

This was discussed briefly in SERVER-8602.


Generated at Thu Feb 08 03:26:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.