097c339d98
Fix race condition
2021-03-15 15:26:29 +01:00
c475471e7a
Implement table gc, currently for block_ref and version only
2021-03-12 19:57:37 +01:00
7fdaf7aef0
Fix merkle updater not being notified; improved logging
2021-03-12 14:37:46 +01:00
3214dd52dd
Very minor changes
2021-03-10 21:50:09 +01:00
af7600f989
Correctly implement CompleteMultipartUpload with etag check of parts
2021-03-10 17:01:05 +01:00
0fd7df8fa0
Switch to blake2 sum for identifying blocks by their data
2021-03-10 16:33:31 +01:00
f319a7d374
Refactor model stuff, including cleaner CRDTs
2021-03-10 16:21:56 +01:00
40763fd749
Cargo fmt
2021-02-23 18:46:25 +01:00
b1b640ae8b
rename hash() to sha256sum(), we might want to change it at some places
2021-02-21 15:24:30 +01:00
10b983b8e7
Add verification of part numbers in CompleteMultipartUpload (WIP #30 )
2021-02-20 00:13:07 +01:00
e64ecbdccd
S3 compatibility: return 404 instead of 400 on some multipart commands
2021-02-19 18:51:05 +01:00
02d512f3fd
Fix #28 , extra headers being ignored (because of profound stupidity)
2021-02-19 12:38:22 +01:00
76390085ef
Small improvements in the S3 put workflow
2021-02-19 12:11:02 +01:00
4a5bbbb810
Propose ETag fix
2020-12-05 19:23:46 +01:00
d54f15b2c6
Small optimisation
2020-11-29 17:07:14 +01:00
fed97f37e1
ETag patch
2020-11-29 16:38:01 +01:00
601ae25ad2
Small refactorings
2020-11-29 16:21:28 +01:00
17dc610f8a
Also check hash for < 3KB files
2020-11-22 11:14:46 +01:00
435d5f9205
Fix base64/hex checksum comparison
2020-11-22 11:04:33 +01:00
f8a04852a2
Convert bucket table to better CRDT representation
2020-11-20 23:53:54 +01:00
5a5592c176
Replace with option syntaxic sugar
2020-11-11 16:12:42 +01:00
a50fa70d45
Refactor error management in API part
2020-11-08 15:05:28 +01:00
5faf069e33
trace test
2020-07-15 15:41:49 +02:00
27a0d0d859
pretty
2020-07-15 15:37:35 +02:00
1c70552f95
Validate content MD5 and SHA256 sums for PutObject and UploadPart
2020-07-15 15:31:13 +02:00
6c7f9704ea
Implement correct ETag for objects created with PutObject
2020-07-13 16:51:30 +02:00
9305e5e87f
More headers taken into account
2020-07-09 17:04:43 +02:00
44dba0e53c
cargo fmt
2020-07-08 17:34:37 +02:00
64a6eda0d2
Migrate S3 api to use new model
2020-07-08 17:33:24 +02:00
f22ecb60a8
Update to Hyper 0.13.6 that accepts non-Sync streams in wrap_stream.
...
Simplifies code and makes it possible to publish on crates.io
2020-07-07 17:15:53 +02:00
bec26a1312
Rename garage_core to garage_model
2020-07-07 13:59:22 +02:00
3324971701
Slightly improved S3 compatibility
...
- ListBucket does not require any of the parameters (delimiter,
prefix, max-keys, etc)
- URLs are properly percent_decoded
- PutObject and DeleteObject calls now answer correctly
(empty body, version id in the x-amz-version-id: header)
2020-05-01 14:30:50 +00:00
0957d0fdfa
Work on API
2020-04-28 10:18:14 +00:00
0877a5500c
Abort multipart upload
2020-04-26 20:46:33 +00:00
81ecc4999e
Implement multipart uploads
2020-04-26 20:39:32 +00:00
1999c0ae51
Update delete code
2020-04-26 19:11:19 +00:00
9cb870f950
Prepare for multipart uploads
2020-04-26 18:55:13 +00:00
91b2d1fcc1
Some basic S3 functionnality
2020-04-24 18:47:11 +00:00