Commit Graph

311 Commits

Author SHA1 Message Date
Alex Auvolat
bf25c95fe2 Make updated() be a sync function that doesn't fail 2021-02-23 20:25:15 +01:00
Alex Auvolat
28bc967c83 Handle correctly deletion dues to offloading 2021-02-23 19:59:43 +01:00
Alex Auvolat
55156cca9d Several changes in table_sync:
- separate path for case of offloading a partition we don't store
- use sync::Mutex instead of tokio::Mutex, make less fn's async
2021-02-23 19:11:02 +01:00
Alex Auvolat
40763fd749 Cargo fmt 2021-02-23 18:46:25 +01:00
Alex Auvolat
6e6f7e8555 Replace some checksums where it makes sense 2021-02-23 18:14:37 +01:00
Alex Auvolat
e8e4418ca7 Add blake2 and xxhash hash functions 2021-02-23 17:52:28 +01:00
Alex Auvolat
1abbca37c4 Add adapted version of maglev for multi-dc 2021-02-21 19:14:28 +01:00
Alex Auvolat
24f924afdb Maglev simulation 2021-02-21 18:32:13 +01:00
Alex Auvolat
b1b640ae8b rename hash() to sha256sum(), we might want to change it at some places 2021-02-21 15:24:30 +01:00
Alex Auvolat
e59322041a Evaluate hash functions 2021-02-21 15:11:15 +01:00
Alex Auvolat
217b0dfd68 Add script to simulate different kinds of rings 2021-02-21 14:30:26 +01:00
Alex Auvolat
80892df8cc Some refactoring 2021-02-21 13:11:10 +01:00
Alex Auvolat
3bcbbe1e31 More precise logging (warn only when returning a 500) 2021-02-20 00:30:39 +01:00
Alex Auvolat
10b983b8e7 Add verification of part numbers in CompleteMultipartUpload (WIP #30) 2021-02-20 00:13:07 +01:00
Alex Auvolat
1de96248e0 add application/xml header and missing xml escapes 2021-02-19 23:40:18 +01:00
Alex Auvolat
0ddfee92c5 add precision 2021-02-19 19:11:55 +01:00
Alex Auvolat
5d1fa591d9 Add compatibility list 2021-02-19 19:10:23 +01:00
Alex Auvolat
e64ecbdccd S3 compatibility: return 404 instead of 400 on some multipart commands 2021-02-19 18:51:05 +01:00
Alex Auvolat
55a2a636ca Implement ListObjectsV2 2021-02-19 16:44:06 +01:00
Alex Auvolat
02d512f3fd Fix #28, extra headers being ignored (because of profound stupidity) 2021-02-19 12:38:22 +01:00
Alex Auvolat
76390085ef Small improvements in the S3 put workflow 2021-02-19 12:11:02 +01:00
Alex Auvolat
3b023c0c3b try to fix smoke test
dev cluster: don't ipv6 (fixes smoke test in container?)
2021-02-17 22:13:11 +01:00
Alex Auvolat
b5dc4d33a9 CI improvements 2021-02-17 22:13:08 +01:00
Alex Auvolat
a3d9d0faac yea more gzip 2021-02-10 13:11:13 +01:00
Alex Auvolat
bcf727f9c1 oops, missed a step 2021-02-10 12:54:11 +01:00
Alex Auvolat
24766a0eb9 change dockerfile; add gzip caching 2021-02-10 12:53:00 +01:00
Alex Auvolat
75d96bdc58 Add drone caching 2021-02-08 16:32:29 +01:00
Alex Auvolat
b3a27b9ebb Add drone badge 2021-02-08 15:04:22 +01:00
Alex Auvolat
9a8b387bb0 fix drone 2021-02-08 15:02:03 +01:00
Alex Auvolat
536bbb2277 add drone.yml 2021-02-08 14:58:24 +01:00
Alex Auvolat
f26c795c99 Add warning 2021-01-23 19:15:57 +01:00
Alex Auvolat
6f6bf23bec Move doc files here from Deuxfleur's site repo 2021-01-23 19:12:10 +01:00
Alex Auvolat
36814be447 Fix S3 ListObjects result and replace println!s by debug!s 2021-01-16 16:05:54 +01:00
Alex Auvolat
6a5add3386 Fix build 2021-01-15 19:12:08 +01:00
Alex Auvolat
e818f51073 Forgot a bump 2021-01-15 18:36:51 +01:00
Alex Auvolat
ceeb0732a2 Use 0.1.0b instead of 0.1.0 (for compatibility with new Error type) 2021-01-15 18:27:58 +01:00
Alex Auvolat
1d1d497e2b Bump everything to 0.1.1 2021-01-15 17:54:48 +01:00
Alex
97494b4a19 Merge pull request 'Support website publishing' (#7) from feature/website into master
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/7
2021-01-15 17:49:49 +01:00
Alex Auvolat
851893a3f2 Do not accept domains such as [hello 2021-01-15 17:49:10 +01:00
Quentin
f8a40e8c4f Explicitly set code path unreachable 2021-01-15 17:11:15 +01:00
Quentin
fad7bc405b Behavior problem: do not panic anymore + add tests 2021-01-15 17:03:54 +01:00
Quentin
1e10c6a61c Doc tests that do not compile/work must be tagged with ignore 2021-01-15 17:03:38 +01:00
Quentin
11a79a95dd Simplify Error file 2021-01-15 16:25:44 +01:00
Quentin
c441a358cd Remove unused dependencies 2021-01-15 16:16:32 +01:00
Quentin
f496e41ef4 Replace an already done check by unreachable!() 2021-01-15 15:44:44 +01:00
Quentin Dufour
2f4378a9c4 Fix formatting 2020-12-17 22:51:44 +01:00
Quentin Dufour
ccda9ab1ca Merge branch 'master' into feature/website 2020-12-17 21:09:50 +01:00
Quentin Dufour
086e5be290 Update testing script 2020-12-17 21:04:59 +01:00
Quentin Dufour
3132deca58 Web server access control 2020-12-17 20:43:14 +01:00
Quentin
011ff87b5f Push update 2020-12-15 13:23:22 +01:00