Commit graph

788 commits

Author SHA1 Message Date
eaca736a4f
Merge branch 'main' into k2v
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-05-09 11:24:15 +02:00
277a20ec44 Fix layout show to not show changes when there are no changes (#297)
All checks were successful
continuous-integration/drone/push Build is passing
fixes #295, partially

Co-authored-by: Alex Auvolat <alex@adnab.me>
Reviewed-on: #297
Co-authored-by: Alex <alex@adnab.me>
Co-committed-by: Alex <alex@adnab.me>
2022-05-09 11:14:55 +02:00
08fbb922ca
Put K2V behind a feature flag
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-09 11:10:50 +02:00
3ce6ffa270
Corrections and clarifications in K2V spec
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-03 21:55:59 +02:00
fe37f45007
Actually do some batching in index counter
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-28 14:47:02 +02:00
301929f962
fix test 2022-04-28 14:33:09 +02:00
1747132875
fix clippy
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-28 13:49:33 +02:00
41b58d7e25
Batch propagation of index counter updates
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-28 13:47:50 +02:00
17883bbe4c
Test a few API error codes
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-28 11:57:14 +02:00
754919170f
Better handling of causal context parse errors
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-28 11:44:20 +02:00
fdbed3f1e8
Encode causality tokens using URL-safe b64
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
this should fix the pollitem test where the ct was passed in the url
2022-04-28 11:35:49 +02:00
7362618b97
Test reverse and actually implement it correctly
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-28 11:28:16 +02:00
226439f2da
Add informations about how reverse works
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2022-04-28 11:02:36 +02:00
3c8e4df397
Specify and implement reverse for ReadIndex and ReadBatch
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-28 10:59:26 +02:00
3ac6970a24
Add EnumerationOrder parameter to table range queries
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-04-28 10:31:57 +02:00
d7e2eb166d
Add test for batch operations
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-27 14:31:21 +02:00
ab57510ffd
Add spec details on pitfalls of the API
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
2022-04-27 11:13:17 +02:00
7a9f40d12f
IMPORTANT TWEAK: deduplicate returned values
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-27 11:05:29 +02:00
c2e91cc4de
cargo fmt
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-27 11:03:07 +02:00
9ed52f36cc
Add tests for all possible item return formats
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-27 11:02:26 +02:00
a4e21dffdf
Optimize batch insertion 2022-04-27 10:27:13 +02:00
8fa25e882b
udate cargo.nix
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2022-04-27 10:16:03 +02:00
bc8047a8da
Add test for PollItem
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-26 17:14:15 +02:00
f6d5d8c532
Implement PollItem
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-26 17:03:34 +02:00
0902d655ce
Test with many InsertItem, DeleteItem, ReadItem and ReadIndex
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-26 15:30:02 +02:00
e9e76f6fc5
Remove a bit of noise
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-26 14:35:07 +02:00
aedb1c1751
First K2V automated test
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-26 14:30:35 +02:00
7a876cf94d
Implement DeleteBatch
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-26 13:37:25 +02:00
ae0e6c6d27
more strictness; cargo fmt+clippy
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-22 18:05:42 +02:00
140994c830
Implement ReadBatch
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-22 18:00:11 +02:00
99e7c3396c
Also count conflicts
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-22 16:32:00 +02:00
3d4d59e714
Implement InsertBatch
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-22 16:14:52 +02:00
362e7570a3
Filter out correctly tombstones in index
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-22 15:29:05 +02:00
91faae679f
Fix bugs, test does interesting things
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-22 15:07:18 +02:00
f35b7c6ba1
Fix cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-21 17:06:11 +02:00
cec08a23af
Fix signatures and add basic code that makes a request
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
(and it crashes yeah yeah yeah)
2022-04-21 17:03:29 +02:00
574d88a02f
Make "s3" service a parameter in more places
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-21 16:36:02 +02:00
3b650cd2a7
update Cargo.nix
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-21 13:42:52 +02:00
bf94344ae0
signatures for service k2v different than for s3
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-21 13:33:33 +02:00
87a8315546
First implementation of ReadIndex that might work if I'm lucky
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-21 13:27:10 +02:00
d3a9075cd3
Add prefix parameter to APIs that use listings
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-21 12:16:05 +02:00
cc8b13f808
fix clippy
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-21 12:01:47 +02:00
e9b796356a
Integrate index counter with k2v item table
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error
2022-04-21 11:56:14 +02:00
c9ef3e461b
fix clippy
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-19 12:50:40 +02:00
c93008d333
Prettier code for defragmentation 2022-04-19 12:50:40 +02:00
e5341ca47b
Defragmentation in UploadPartCopy: first pass (not pretty but it compiles) 2022-04-19 12:50:36 +02:00
a4f9f19ac3 remove size limitation in UploadPartCopy (#280)
All checks were successful
continuous-integration/drone/push Build is passing
This removes the >1mb s3_copy restriction.

This restriction doesn't seem to be documented anywhere (I could be wrong). It also causes some software to fail (such as #248).

Co-authored-by: Rob Landers <landers.robert@gmail.com>
Reviewed-on: #280
Co-authored-by: withinboredom <landers.robert@gmail.com>
Co-committed-by: withinboredom <landers.robert@gmail.com>
2022-04-19 12:49:43 +02:00
3a66cf4f7d
Add generic index counter
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-15 17:59:40 +02:00
fe4a8e85be
Fix display bug in garage status (nothing to do with k2v)
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-15 16:43:57 +02:00
7cdec31e10
Implement DeleteItem and InsertItem
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-15 15:49:30 +02:00