Skip to content

Commit

Permalink
Update redis_connection_state.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin authored Feb 27, 2025
1 parent e429465 commit 95dddb9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ RedisConnectionState::RedisConnectionState(InClusterMode) {
KeyShardFactory{storages::redis::impl::kRedisCluster}
);
sentinel_->WaitConnectedDebug();
UASSERT(sentinel_->ShardsCount() != 0);
UASSERT(sentinel_->IsInClusterMode());
client_ = std::make_shared<ClientImpl>(sentinel_);

subscribe_sentinel_ = storages::redis::impl::SubscribeSentinel::Create(
Expand Down

0 comments on commit 95dddb9

Please sign in to comment.