-
Notifications
You must be signed in to change notification settings - Fork 638
refactoring the transaction processing cycle #1196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactoring the transaction processing cycle #1196
Conversation
ydb/core/persqueue/partition.cpp
Outdated
@@ -854,7 +870,7 @@ void TPartition::Handle(TEvPersQueue::TEvProposeTransaction::TPtr& ev, const TAc | |||
return; | |||
} | |||
|
|||
if (ImmediateTxs.size() > MAX_TXS) { | |||
if (UserActionAndTransactionEvents.size() > MAX_TXS) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а тут надо считать только транзакции же. У нас лимит на пропоузы, а не на все-все события.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
добавил счётчик
8d45220
⚪ |
⚪ |
b31e7b8
to
8d45220
Compare
⚪
|
⚪
|
Рефакторинг цикла обработки транзакций