[CDRIVER-3780] Create public API to report whether a server session is dirty Created: 24/Aug/20 Updated: 28/Oct/23 Resolved: 25/Jan/21 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.18.0, 1.18.0-alpha |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
While investigating The Sessions spec doesn't talk about the relevance of this field for users, although I don't see any reason why it couldn't be exposed in a public API (at least in libmongoc for the benefit of other drivers). Can we consider adding mongoc_client_session_is_dirty? I'm open to more contextual names (e.g. mongoc_client_session_will_be_discarded, mongoc_client_session_has_seen_error), but that's probably something better conveyed in documentation. |
| Comments |
| Comment by Githook User [ 23/Mar/21 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Githook User [ 25/Jan/21 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message: |
| Comment by Kevin Albertson [ 25/Jan/21 ] |