[SERVER-31228] Does changeStream involve documents from different collections? Created: 22/Sep/17 Updated: 25/Sep/17 Resolved: 25/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Katherine Walker (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
In document_source_change_stream.h, getInvolvedNamespaces() has the following comment: Should this stage look up documents from different collections or is this an outdated comment? |
| Comments |
| Comment by Spencer Brody (Inactive) [ 25/Sep/17 ] |
|
As we worked on changeStreams we realized several things that make supporting a stream from more than just a single collection much trickier than we originally thought, so at this point I think it is increasingly unlikely that we'll ever support change streams on more than one collection. We certainly have no plans to do so in the immediate future. |
| Comment by Charlie Swanson [ 25/Sep/17 ] |
|
katherine.walker (in case no one has answered your question yet) it does not today. There are plans to extend the change streams to the database level at some point in the future (see |