K2V #293

Merged
lx merged 68 commits from k2v into main 2022-05-10 11:16:58 +00:00

68 commits

Author SHA1 Message Date
aa5b54fe19
Merge branch 'main' into k2v
Some checks reported errors
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build was killed
2022-05-10 13:14:19 +02:00
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
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
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
a9a1d5532d
RPC code to insert single values in K2V item table
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-15 12:14:10 +02:00
da14343ea7
prepare k2v rpc
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-14 16:42:18 +02:00
12dd378fca
fix clippy
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-14 16:22:21 +02:00
84536f2e75
First implementation of ReadItem 2022-04-14 16:19:31 +02:00
025db41bba
cargo fmt
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-14 15:02:49 +02:00
69f14245bb
Remove useless imports and dead code
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-14 14:44:18 +02:00
f294458f20
Ready to add K2V endpoint implementations 2022-04-14 14:41:47 +02:00
b8562d6e3c
Split off router macros to b reused for K2V router
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-14 14:09:53 +02:00
46700e6673
Fix test
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-14 11:36:58 +02:00
f9de5478d6
update cargo.nix
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is failing
2022-04-13 17:47:00 +02:00
03bfdfb4ef
Fix clippy
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is failing
2022-04-13 17:41:55 +02:00
e6f40c4cfa
remove unused imports
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-13 17:38:31 +02:00
54b34bf56c
First refactor of api 2022-04-13 17:35:40 +02:00
6c990b2bf2
rename api to s3::api in many places to make place for k2v::api
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-04-13 16:45:46 +02:00
2e45b541a2
First incarnation of what one of the K2V tables could be
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-13 15:34:36 +02:00
bf6c1b1ef6
skeleton for k2v 2022-04-13 14:02:53 +02:00
30f0cab22c
Spec for PollItem
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-11 18:38:44 +02:00
a455f48ef4
switch json fields to camelCase
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-11 18:06:34 +02:00
834e564efa
Move to json objects
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-11 17:09:30 +02:00
7e8e650f38
Document indexing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-11 17:01:57 +02:00
ae3d6c9e84
Specify stuff about causality tokens (aka contexts)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-11 14:36:28 +02:00
0dfaa45643
First draft of the K2V specification
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-04-11 13:04:59 +02:00