[CXX-2368] Snapshot reads on Secondaries Created: 14/Sep/21 Updated: 28/Oct/23 Resolved: 05/Nov/21 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Albertson | Assignee: | Jesse Williamson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Snapshot reads on Secondaries |
| Description |
|
Scope
|
| Comments |
| Comment by Githook User [ 05/Nov/21 ] |
|
Author: {'name': 'Jesse Williamson', 'email': 'jesse.williamson@mongodb.com', 'username': 'chardan'}Message:
This commit adds data from
Signed-off-by: Jesse Williamson <jesse.williamson@mongodb.com> Co-authored-by: Kevin Albertson <kevin.albertson@mongodb.com> |
| Comment by Jesse Williamson (Inactive) [ 14/Sep/21 ] |
|
Error checking in the event of both snapshot and causal consistency being set is currently handled in the C library, by mongoc_client_start_session(); this sets up a bson_error_t (via bson_error()) and then (back in the C++ boundary) client_session::impl throws. It appears that, by design, this is the only way to pass in options, so I believe we already going to implicitly handle an error situation correctly. |