Skip to content

Clear latest schema caches after schema registration - #2333

Open
Oliver Bennett (omwbennett) wants to merge 2 commits into
confluentinc:masterfrom
omwbennett:latest-cache-invalidation
Open

Clear latest schema caches after schema registration#2333
Oliver Bennett (omwbennett) wants to merge 2 commits into
confluentinc:masterfrom
omwbennett:latest-cache-invalidation

Conversation

@omwbennett

Copy link
Copy Markdown

What

When a schema is registered invalidate that subject's entries in the latest-version and latest-with-metadata caches. Re-use the existing clear_latest_caches() method to do this.

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • If not, please explain why it is not required

References

This addresses the second bug reported in #1950

Test & Review

Added unit tests and did some manual testing locally.

Open questions / Follow-ups

@confluent-cla-assistant

confluent-cla-assistant Bot commented Aug 26, 2026

Copy link
Copy Markdown

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ omwbennett
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@omwbennett

Copy link
Copy Markdown
Author

Please sign the Contributor License Agreement here before this PR can be approved.❌ omwbennettPlease push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

This link is returning "Error Occurred" for me.

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.

1 participant