Replies: 2 comments
-
|
I support Option C. Hopefully the LakeFS community can make this parameter configurable in the future so that our problem will be solved automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Quick update on the 6-hour limitation:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
In our current upload flow we:
Problem
lakeFS treats the “link address” returned during init as time-bounded.
LinkAddressTimeset to 6 hours:https://github.com/treeverse/lakeFS/blob/master/pkg/catalog/catalog.go#L84
https://github.com/treeverse/lakeFS/blob/e77dd296d6e3d84e6083928bcc82fa186eed917c/pkg/catalog/catalog.go#L3197
So any multipart upload that takes longer than 6 hours will fail on complete/finish/abort.
Options considered
Option A: Build/patch lakeFS ourselves
Option B: Use MinIO multipart APIs directly, then import into lakeFS
Pros: Avoids the lakeFS 6-hour “link address” limitation for the multipart upload itself.
Cons: Import commits the file automatically, which breaks assumptions in our frontend:
Option C: enforce a hard 6-hour limit for uploads
Beta Was this translation helpful? Give feedback.
All reactions