Skip to content

fix panic in keyspace.evictKeysWithExpiredTTL #183

Open
apuckey wants to merge 1 commit intoEchoVault:mainfrom
apuckey:evictKeysWithExpiredTTL-panic
Open

fix panic in keyspace.evictKeysWithExpiredTTL #183
apuckey wants to merge 1 commit intoEchoVault:mainfrom
apuckey:evictKeysWithExpiredTTL-panic

Conversation

@apuckey
Copy link
Copy Markdown

@apuckey apuckey commented Oct 12, 2025

this function was comparing keys in all databases then trying to select those keys out from a database set in context. this would panic if the selected key did not exist in the context database.

also if the key did exist i think it would wrongly evict a key in a different database.

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