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

Clone fix/open-mode-7928 to allow Esti to run #7995

Closed
wants to merge 5 commits into from

Conversation

arielshaqed
Copy link
Contributor

Otherwise no secrets.

Do NOT pull

maxmynter added 5 commits July 5, 2024 10:11
Python's `open` needs a specification of one of
create/read/write/append.
otherwise, there will be errors for writes to the SpooledTemporaryFile
larger than the buffersize as encoding shall not be set for binary files.
The write mode is hardcoded to `wb+` due to an upstream bug.
for files larger than _WRITER_BUFFER_SIZE (hard coded value in
/lakefs/object.py, set to  32 MB) Python's SpooledTemporaryFile
forces a write to disk. Only then the kwargs passed to it are applied.
which are out of scope for this PR. Namely, reintroducing the
write mode depending on user specification once we are no longer
affected by the upstream urllib bug and a tuning parameter for the
SpooledTemporaryFile size in the tests.
@arielshaqed
Copy link
Contributor Author

Run Esti on #7961 before pulling.

Copy link

E2E Test Results - DynamoDB Local - Local Block Adapter

13 passed

@arielshaqed arielshaqed closed this Aug 6, 2024
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.

2 participants