Skip to content
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

[v23.3.x] [CORE-2399] Schema Registry: Improve retries and tombstoning #18624

Merged
merged 9 commits into from
May 22, 2024

Conversation

BenPope
Copy link
Member

@BenPope BenPope commented May 22, 2024

Backport of PR #17905

Fixes #17951

Manual, because there was a small header include conflict in seq_writer.

I also grabbed a couple of small followup fixes from #17952

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 23c12f5)
* Remove unusual "this" parameter

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 60ceea9)
* Remove unused params

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit a2c9a16)
* Factor out seq_marker construction into batch_builder
* Simplify consume_to_store by reusing the batch
  * This is slightly more work, due to decoding, but
    means a consistent code path is taken.
* Refactor all writes through produce_and_apply

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit ae8f74a)

Conflicts:
    src/v/pandaproxy/schema_registry/seq_writer.cc (includes)
Add retry logic for:
* delete_config
* delete_subject_permanent

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 640cb84)
Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 813c4be)
When permanantly deleting a subject, delete the subject version,
even if it's the last one.

Signed-off-by: Ben Pope <ben@redpanda.com>
(cherry picked from commit 6a48b96)
Signed-off-by: Ben Pope <ben@redpanda.com>
Signed-off-by: Ben Pope <ben@redpanda.com>
@BenPope BenPope added the kind/backport PRs targeting a stable branch label May 22, 2024
@BenPope BenPope added this to the v23.3.16 milestone May 22, 2024
@BenPope BenPope requested a review from a team May 22, 2024 09:05
@BenPope BenPope self-assigned this May 22, 2024
@BenPope BenPope requested review from graphcareful and a team and removed request for a team May 22, 2024 09:05
@BenPope BenPope requested review from pgellert and removed request for graphcareful May 22, 2024 09:05
Copy link
Contributor

@pgellert pgellert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@piyushredpanda piyushredpanda merged commit 7e393db into redpanda-data:v23.3.x May 22, 2024
16 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants