-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(paramserver): file is too large error
This commit fixes a specific case when a json/yaml file is uploaded to the paramserver and is stored by the backend in etcd. The issue existed till date because the SDK performs a stat to check the size of a file and determine whether to upload a file as blob or not. However, in cases where the file size is close to the upper limit i.e. 128 KiB, the API payload may inflate due to additional metadata and string conversion. In such cases, while the file size may be under 128KiB, the final data to be stored in etcd is greater than 128KiB and it throws a `file is too large` error. Fixes AB#33921
- Loading branch information
1 parent
f0ebeb3
commit 99e6826
Showing
1 changed file
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters