-
Notifications
You must be signed in to change notification settings - Fork 579
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
[backport] [v23.1.x] More detailed partition reconfiguration tracking #10201 #10630
Conversation
@@ -273,6 +273,29 @@ inline bool has_non_replicable_op_type(const topic_table_delta& d) { | |||
} | |||
__builtin_unreachable(); | |||
} | |||
|
|||
inline std::vector<model::broker_shard> union_replica_sets( |
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.
this is actually needed by the previous commit
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.
I thought no one would notice it in a backport :-P
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.
haha 😁
Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit cd45527)
In order to provide a generic error code to express errors originating from outside of the cluster module (errors with different category) or an exceptions occurred in `controller_backend` we introduce a separate error code. Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit 711949d)
Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit 8f83991)
Added revision, last error and retry count to backend operation. The information will be used to track partition reconfiguration progress. Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit 8e01dd0)
Added `controller_api` that allows caller to request partition reconciliation state from all the replicas where partition is currently hosted. The API returns a data structure containing operations that are executed by `controller_backend` on all of the replicas. Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit 1799693)
The `/reconfiguartions` endpoint didn't provide an insight into the progress of partition reconfigurations. Added information that will allow user to check the operation progress and additionally check status of reconciliation on all replicas. Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit b2467b3)
Signed-off-by: Michal Maslanka <michal@redpanda.com> (cherry picked from commit d83a975)
Failure: #10219 (known issue, unrelated). |
Enriched
/reconfiguration
API with more information allowing users to track the progress of partition reconciliation. Now the API returns a complete set of information related with partition reconfiguration that is taking place.The API will now return the following JSON:
Fixes #10434
Backport of #10201
Backports Required
Release Notes