Skip to content

Conversation

@aiven-anton
Copy link
Contributor

When using the backups library to restore topics on KRaft, we are observing the partition count check failing. Subsequent manual checks of the partition count shows the correct count. This commit adds a fix to make the restoration process anticipate that partition count metadata will be initially incorrect but eventually converge on the correct value.

@aiven-anton aiven-anton force-pushed the aiven-anton/handle-transiently-incorrect-partition-count-on-topic-creation branch 2 times, most recently from 7376f34 to d7c04f5 Compare June 4, 2025 11:18
When using the backups library to restore topics on KRaft, we are
observing the partition count check failing. Subsequent manual checks of
the partition count shows the correct count. This commit adds a fix to
make the restoration process anticipate that partition count metadata
will be initially incorrect but eventually converge on the correct
value.
@aiven-anton aiven-anton force-pushed the aiven-anton/handle-transiently-incorrect-partition-count-on-topic-creation branch from d7c04f5 to 975df44 Compare June 4, 2025 11:29
@github-actions
Copy link

github-actions bot commented Jun 4, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/karapace/backup
  api.py
  src/karapace/core/coordinator
  schema_coordinator.py
Project Total  

This report was generated by python-coverage-comment-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants