[CXX-1414] Change stream support Created: 31/Jul/17 Updated: 28/Oct/23 Resolved: 07/May/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.0-rc0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Ryan Timmons |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Epic Link: | Change Streams | ||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Comments |
| Comment by Githook User [ 07/May/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 04/May/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |
| Comment by Githook User [ 26/Apr/18 ] |
|
Author: {'email': 'ryan.timmons@mongodb.com', 'name': 'Ryan Timmons'}Message: |
| Comment by Githook User [ 14/Apr/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: Using a mongoc_change_stream_t reference in a braced initializer yields "invalid initialization of |
| Comment by Githook User [ 09/Apr/18 ] |
|
Author: {'email': 'ryan.timmons@10gen.com', 'name': 'Ryan Timmons', 'username': 'rtimmons'}Message: |
| Comment by Githook User [ 09/Apr/18 ] |
|
Author: {'email': 'ryan.timmons@10gen.com', 'name': 'Ryan Timmons', 'username': 'rtimmons'}Message: |
| Comment by A. Jesse Jiryu Davis [ 26/Mar/18 ] |
|
Work is proceeding on master, you'll see commits there once they've finished code review. If you watch this ticket you'll get notified as we make progress. Tailable cursors are implemented in the MongoDB server, but they are based on the oplog, so they'll always require replica sets. |
| Comment by Tim Niemueller [ 26/Mar/18 ] |
|
@jesse, thanks for the update. Is this work happening on the public repo? Checked this morning and didn't see anything. Would like to test early if possible. So are change streams sugar for a tailable cursor on the oplog that does return the actual documents instead? Are there plans to make them available for non-replica sets, too? Thanks again, Tim. |
| Comment by A. Jesse Jiryu Davis [ 26/Mar/18 ] |
|
Hi, we're updating and merging to master the code we began in that branch. This effort resumed a week ago and we'll complete it in approximately a month, to be released as part of 3.3.0. You'll still have to set up a replica set, however; MongoDB change streams require a replica set or a sharded cluster of replica sets. |
| Comment by Tim Niemueller [ 26/Mar/18 ] |
|
What is the current state of this effort? There is a changestreams branch in the repo, but that has not been touched since August. I would like to use this feature (and stop setting up single-node replica sets to watch the oplog). It would be nice if you could comment on the state and progress and the anticipated time frame we are looking at. Thanks! |