Skip to content

Treat undecryptable cache entries as misses - #322

Open
ydah wants to merge 1 commit into
rails:mainfrom
ydah:treat-decryption-errors-as-cache-misses
Open

ydah wants to merge 1 commit into
rails:mainfrom
ydah:treat-decryption-errors-as-cache-misses

Conversation

@ydah

@ydah ydah commented Oct 14, 2026

Copy link
Copy Markdown

Replacing encryption keys or enabling encryption over an existing plaintext cache can make reads raise decryption errors. An unreadable size estimate also prevents expiry from running.

Deserialize rows individually, report decryption errors, and skip unreadable entries while preserving readable results. Size estimates can then rebuild their history, allowing expiry to continue.

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