Skip to content

Commit 272692b

Browse files
committed
Made sure that dead nodes are skipped in a coherent fashion, and come back alive when their timeout has expired
1 parent 0718f0f commit 272692b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Elasticsearch.Net/ConnectionPool/StaticConnectionPool.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public virtual Uri GetNext(int? initialSeed, out int seed)
5555
state._attempts = 0;
5656
return uri;
5757
}
58+
Interlocked.Increment(ref _current);
5859
}
5960
Interlocked.Increment(ref state._attempts);
6061
++attempts;

0 commit comments

Comments
 (0)