[GODRIVER-469] Update ChangeStream spec to detail usage of startAtOperationTime Created: 18/Jun/18  Updated: 28/Oct/23  Resolved: 27/Nov/18

Status: Closed
Project: Go Driver
Component/s: CRUD
Affects Version/s: None
Fix Version/s: 0.1.0

Type: Improvement Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Divjot Arora (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-506 Update ChangeStream spec to detail us... Closed
Epic Link: GODRIVER MongoDB 4.0 Support

 Description   

If drivers have already implemented DRIVERS-464, they need to update their implementation of how they initially store startAtOperationTime. Instead of setting a default startAtOperationTime when the ChangeStream is created, drivers must omit a default startAtOperationTime. When resuming, drivers must use the operationTime of the initial aggregate command as the default startAtOperationTime value.

See https://github.com/mongodb/specifications/commit/745debcf4624ec820eb9b138cd8f28fa7b1e5782 for the exact implementation details.



 Comments   
Comment by Githook User [ 27/Nov/18 ]

Author:

{'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}

Message: Add helpers to create database and client change streams.

GODRIVER-437
GODRIVER-469
GODRIVER-591

Change-Id: I52270279e9ea05c1e64e5ec3d9d8a86478cd9986
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/f0d2014f595ef724540c224188c776086437c3e7

Comment by Divjot Arora (Inactive) [ 09/Nov/18 ]

jeff.yemin I'll include this in the work for GODRIVER-437.

Generated at Thu Feb 08 08:34:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.