Skip to content

Commit

Permalink
layout fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FewJuho committed Feb 6, 2025
1 parent 1c03fce commit efd93a6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -697,14 +697,14 @@ synchronized void initChannelHolders() {
try {
channels = reinitHolders;

attemptsLimit = getRetryLimit();

curChIdx = dfltChannelIdx;

// essential to recover after failure on single server
// ???
if (channels.size() == 1 && partitionAwarenessEnabled)
channels.add(channels.get(0));

attemptsLimit = getRetryLimit();

curChIdx = dfltChannelIdx;
}
finally {
curChannelsGuard.writeLock().unlock();
Expand Down

0 comments on commit efd93a6

Please sign in to comment.