Skip to content

Commit

Permalink
Bugfix for alter consumers in pqrb (#12613)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingCrowbar authored Dec 13, 2024
1 parent 48d649b commit 0a87339
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ydb/core/persqueue/read_balancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ void TPersQueueReadBalancer::Handle(TEvPersQueue::TEvUpdateBalancerConfig::TPtr
auto it = oldConsumers.find(consumer.GetName());
if (it != oldConsumers.end()) {
Consumers[consumer.GetName()] = std::move(it->second);
} else {
Consumers.insert(std::make_pair(consumer.GetName(), TConsumerInfo{}));
}
}

Expand Down

0 comments on commit 0a87339

Please sign in to comment.