Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add an environment variable LANCE_INITIAL_UPLOAD_SIZE (lancedb#…
…2806) I feel like I am creating a lot of environment variables lately :cold_sweat: but this one would be pretty tricky to push down. I am testing with GCS, creating a 2TiB file, and it fails pretty much 100% of the time when following our gradually growing part size strategy. I would like to know why, and plan to continue investigating. However, in the meantime, it would help if we had some control over the part size. This PR allows the user to pick the initial part size buffer size. It does not change the growth strategy though. At each step it will pick either the larger of "user supplied value" or "value we would have used with default strategy". So if the user picks a very large value (e.g. 256MB) then the growth strategy will still start growing the buffer size at some point. I also add a debug log statement when uploading a part in a multipart upload.
- Loading branch information