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.
2 parents 932db4f + 369ba1e commit 6a795ebCopy full SHA for 6a795eb
ydb/core/persqueue/read_balancer.cpp
@@ -373,6 +373,8 @@ void TPersQueueReadBalancer::Handle(TEvPersQueue::TEvUpdateBalancerConfig::TPtr
373
auto it = oldConsumers.find(consumer.GetName());
374
if (it != oldConsumers.end()) {
375
Consumers[consumer.GetName()] = std::move(it->second);
376
+ } else {
377
+ Consumers.insert(std::make_pair(consumer.GetName(), TConsumerInfo{}));
378
}
379
380
0 commit comments