Skip to content

Commit 9664c5b

Browse files
revert Writer
1 parent 65d6b57 commit 9664c5b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
* Fixed TopicSession.ReconnectSession(): CompareExchange returns the original value in location1.
21
* Fixed: YdbDataReader.GetDataTypeName for optional values.
32
* Added support for "Columns" collectionName in YdbConnection.GetSchema(Async).
43

src/Ydb.Sdk/src/Services/Topic/TopicSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected TopicSession(
2828

2929
protected async void ReconnectSession()
3030
{
31-
if (Interlocked.CompareExchange(ref _isActive, 0, 1) == 1)
31+
if (Interlocked.CompareExchange(ref _isActive, 0, 1) == 0)
3232
{
3333
Logger.LogDebug("Skipping reconnect. A reconnect session has already been initiated");
3434

0 commit comments

Comments
 (0)