-
Notifications
You must be signed in to change notification settings - Fork 69
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
feature: Make schema backup handle empty topics #614
Merged
jjaakola-aiven
merged 1 commit into
main
from
aiven-anton/feature/backup-v3-avro-test-restore-empty-topic
May 31, 2023
Merged
feature: Make schema backup handle empty topics #614
jjaakola-aiven
merged 1 commit into
main
from
aiven-anton/feature/backup-v3-avro-test-restore-empty-topic
May 31, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bf3dee0
to
130b9ca
Compare
93b006a
to
801a367
Compare
e16abce
to
8c12eeb
Compare
Deploying with
|
Latest commit: |
2836bba
|
Status: | ✅ Deploy successful! |
Preview URL: | https://599b5e46.karapace.pages.dev |
Branch Preview URL: | https://aiven-anton-feature-backup-v-1ql2.karapace.pages.dev |
e28ae4b
to
9a9e5e1
Compare
Base automatically changed from
aiven-anton/feature/backup-v3-avro-verify
to
main
May 30, 2023 12:43
40e0d67
to
d03605c
Compare
giuseppelillo
previously approved these changes
May 30, 2023
- Adds `start_offset` and `end_offset` to data files in `Metadata`. - Adds verification of start and end offset in backup reader. - Adds `record_count` to `Metadata`. - Start sourcing `partition_count` directly from what's read from Kafka, instead of indirectly via `len(data_files)`. - Test can restore empty topics.
d03605c
to
2836bba
Compare
giuseppelillo
approved these changes
May 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About this change - What it does
start_offset
andend_offset
to data files in metadata.record_count
toMetadata
.partition_count
directly from what's read from Kafka, instead of vialen(data_files)
.