Skip to content

Conversation

DmitryLukyanov
Copy link
Contributor

… a non-transaction operation. / Unpin sessions after all abortTransaction attempts.
@DmitryLukyanov DmitryLukyanov requested review from BorisDog and jyemin May 31, 2021 23:54
_session.CommitTransaction(cancellationToken);
return OperationResult.Empty();
}
catch (Exception ex)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this catch block should be moved on the lever higher than test level since it's required for any test. Leave this as is since this will require more changes than it's expected for this small PR

@DmitryLukyanov DmitryLukyanov requested a review from BorisDog June 1, 2021 12:59
Copy link
Contributor

@BorisDog BorisDog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jyemin jyemin removed their request for review June 2, 2021 15:16
@DmitryLukyanov DmitryLukyanov merged commit 1c93528 into mongodb:master Jun 2, 2021
DmitryLukyanov added a commit to DmitryLukyanov/mongo-csharp-driver that referenced this pull request Jun 23, 2021
… a non-transaction operation. / Unpin sessions after all abortTransaction attempts. (mongodb#540)
DmitryLukyanov added a commit to DmitryLukyanov/mongo-csharp-driver that referenced this pull request Jun 29, 2021
CSHARP-3669: Code review.

CSHARP-3676: SRV support for load balancer mode.

CSHARP-3533/CSHARP-3619: Test that session is unpinned when executing a non-transaction operation. / Unpin sessions after all abortTransaction attempts. (mongodb#540)

CSHARP-3673: Update connection pinning logic for LB mode.
CSHARP-3675: Sessions should not be expired in LB mode.
CSHARP-3672: LB support integration testing.

CSHARP-3673: Better wait queue timeout errors for load balanced clusters.

CSHARP-3670: Handling serviceId.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants