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

Enable last resort truncation strategy: delete (nearly) any key #888

Merged
merged 2 commits into from
Jul 12, 2019

Conversation

waltjones
Copy link
Contributor

Runs after all other truncation attempts. Deletes unknown root keys, then deletes data keys until the payload is under the threshold. Specific reserved keys are skipped.

Diagnostic information is included in the notifier key describing any keys removed.

This should be, in all cases, preferable to the current behavior which forwards an error about the payload being too large, but nothing about the original error or location where it happened.

@waltjones waltjones merged commit f63c93e into master Jul 12, 2019
@waltjones waltjones deleted the wj-any-key-truncation branch June 27, 2023 18:16
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