Yoni Augarten
11/21/2022, 5:06 PMaws s3 cp --endpoint-url <https://yoni.lakefscloud.io> myfile.txt <s3://example-repo/main/dest.txt>
And suppose I'm writing another file, to the same path:
aws s3 cp --endpoint-url <https://yoni.lakefscloud.io> myfile2.txt <s3://example-repo/main/dest.txt>
In the backend, both saved objects are immutable. However, to the client, the file s3://example-repo/main/dest.txt has changed.einat.orr
11/21/2022, 5:14 PMJohn Zielke
11/21/2022, 5:18 PMYoni Augarten
11/21/2022, 5:20 PMJohn Zielke
11/21/2022, 5:27 PMAriel Shaqed (Scolnicov)
11/21/2022, 10:10 PMJohn Zielke
11/22/2022, 9:17 AMAriel Shaqed (Scolnicov)
11/22/2022, 3:35 PM--direct
flag of lakectl
fs {upload,cat} do: ask lakeFS to statObject and then read the object from the physical path field of the result - it's immutable. Now you can use whatever s3 client features you like door data, because lakeFS never sees that actual data! As a bonus, it scales really nicely because lakeFS only manages metadata.John Zielke
11/22/2022, 4:14 PMAriel Shaqed (Scolnicov)
11/24/2022, 4:02 PMUploadWithCotext
in pkg/api/adapters.go, s3manager.UploadInput
takes a CacheCotrol field.
This is admittedly icky.John Zielke
11/24/2022, 4:44 PMAriel Shaqed (Scolnicov)
11/26/2022, 11:24 AMJohn Zielke
11/28/2022, 9:21 AM