Skip to content

Commit 6a795eb

Browse files
Merge 369ba1e into 932db4f
2 parents 932db4f + 369ba1e commit 6a795eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ydb/core/persqueue/read_balancer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ void TPersQueueReadBalancer::Handle(TEvPersQueue::TEvUpdateBalancerConfig::TPtr
373373
auto it = oldConsumers.find(consumer.GetName());
374374
if (it != oldConsumers.end()) {
375375
Consumers[consumer.GetName()] = std::move(it->second);
376+
} else {
377+
Consumers.insert(std::make_pair(consumer.GetName(), TConsumerInfo{}));
376378
}
377379
}
378380

0 commit comments

Comments
 (0)