[SERVER-34181] Expose the "ts" value from oplog entries in the changestream as "clusterTime" Created: 28/Mar/18 Updated: 29/Oct/23 Resolved: 12/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Charlie Swanson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||
| Backport Requested: |
v3.6
|
||||||||||||||||||||||||||||
| Sprint: | Query 2018-04-23 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
By exposing the "ts" field from the oplog entry in a changestream entry, we give the consumer all the information they need to create a BSON document that sorts in the same order as changestream entries appear, without needing to make the resume token transparent. |
| Comments |
| Comment by Githook User [ 12/Apr/18 ] |
|
Author: {'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson', 'username': 'cswanson310'}Message: |
| Comment by Charlie Swanson [ 10/Apr/18 ] |
|
I'm blocked on other change stream tickets in this sprint so I'm stealing this from Ian. |