[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: |
|
||||||||
| 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. |