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

chore(ext/kv): limit total key size in an atomic op to 80 KiB #20395

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

losfair
Copy link
Member

@losfair losfair commented Sep 7, 2023

Keys are expensive metadata. We track it for various purposes, e.g. transaction conflict check, and key expiration.

This patch limits the total key size in an atomic operation to 80 KiB (81920 bytes). This helps ensure efficiency in implementations.

@losfair losfair merged commit 01a761f into denoland:main Sep 7, 2023
13 checks passed
bartlomieju pushed a commit to bartlomieju/deno that referenced this pull request Sep 8, 2023
…nd#20395)

Keys are expensive metadata. We track it for various purposes, e.g.
transaction conflict check, and key expiration.

This patch limits the total key size in an atomic operation to 80 KiB
(81920 bytes). This helps ensure efficiency in implementations.
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.

None yet

2 participants