[CSHARP-2822] StartTransaction doesn't throw an exception when connected to Standalone nodes Created: 29/Oct/19 Updated: 28/Oct/23 Resolved: 21/Apr/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 2.8.1 |
| Fix Version/s: | 2.11.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tomasz Masternak | Assignee: | Robert Stam |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The driver does not throw an exception on StartTransaction when connecting to a Standalone or Unknown node. This is connected to However, the check misses these two scenarios. This results in an exception being thrown at a later stage when transaction operations are being executed. Note 2020-04-20: It is not necessary to check for Unknown because in that case the server is also disconnected and we filter out disconnected servers before checking server type. |
| Comments |
| Comment by Githook User [ 21/Apr/20 ] |
|
Author: {'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}Message: |
| Comment by Githook User [ 21/Apr/20 ] |
|
Author: {'name': 'Tomek Masternak', 'email': 'tomasz.masternak@particular.net', 'username': 'tmasternak'}Message: |