We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d6b57 commit 9664c5bCopy full SHA for 9664c5b
CHANGELOG.md
@@ -1,4 +1,3 @@
1
-* Fixed TopicSession.ReconnectSession(): CompareExchange returns the original value in location1.
2
* Fixed: YdbDataReader.GetDataTypeName for optional values.
3
* Added support for "Columns" collectionName in YdbConnection.GetSchema(Async).
4
src/Ydb.Sdk/src/Services/Topic/TopicSession.cs
@@ -28,7 +28,7 @@ protected TopicSession(
28
29
protected async void ReconnectSession()
30
{
31
- if (Interlocked.CompareExchange(ref _isActive, 0, 1) == 1)
+ if (Interlocked.CompareExchange(ref _isActive, 0, 1) == 0)
32
33
Logger.LogDebug("Skipping reconnect. A reconnect session has already been initiated");
34
0 commit comments