-
Notifications
You must be signed in to change notification settings - Fork 552
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
c/p_leaders: check if leaders table was modified after async iteration #16711
c/p_leaders: check if leaders table was modified after async iteration #16711
Conversation
Since leaders table might have been modified during the execution of iteration over the topic partitions we must check the version of topics table after the asynchronous iteration finished. Signed-off-by: Michal Maslanka <michal@redpanda.com>
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.
Don't we need the same in update_with_node_report
?
Signed-off-by: Michal Maslanka <michal@redpanda.com>
6eaa7b8
no, as in node report we iterate over the report itself so the change of partition leaders table version doesn't matter, what matters is to check before accessing previously found |
/backport v23.3.x |
Failed to create a backport PR to v23.3.x branch. I tried:
|
Since leaders table might have been modified during the execution of iteration over the topic partitions we must check the version of topics table after the asynchronous iteration finished.
Backports Required
Release Notes