b490ebc7f6
Many improvements on ring/replication and its configuration:
...
- Explicit "replication_mode" configuration parameters that takes
either "none", "2" or "3" as values, instead of letting user configure
replication factor themselves. These are presets whose corresponding
replication/quorum values can be found in replication/mode.rs
- Explicit support for single-node and two-node deployments
(number of nodes must be at least "replication_mode", with "none"
we can have only one node)
- Ring is now stored much more compactly with 256*8 + n*32 bytes,
instead of 256*32 bytes
- Support for gateway-only nodes that do not store data
(these nodes still need a metadata_directory to store the list
of bucket and keys since those are stored on all nodes; it also
technically needs a data_directory to start but it will stay
empty unless we have bugs)
2021-05-28 14:07:36 +02:00
e4b9e4e24d
rename types to CamelCase
2021-05-03 22:15:09 +02:00
4a1e079e8f
fix clippy warnings on model
2021-05-03 22:11:41 +02:00
119217f9f6
change a few comments
2021-04-27 16:53:47 +02:00
2812a027ea
change some more comments and revert changes on TableSchema
2021-04-27 16:49:07 +02:00
74373aebcf
make most requested changes
2021-04-27 16:47:08 +02:00
1e3df189d0
document api crate
2021-04-27 16:37:10 +02:00
67585a4ffa
attempt at documenting model crate
2021-04-27 16:37:10 +02:00
b437610812
attempt at documenting table crate
2021-04-27 16:37:10 +02:00
9ced9f78dc
Improve bootstraping: do it regularly; persist peer list
2021-04-27 16:37:08 +02:00
f859d15062
update to v0.2.1
2021-03-19 13:39:18 +01:00
4c26a0b9c1
Update Cargo.toml files with AGPL license info
2021-03-18 21:59:17 +01:00
dead945c8f
Prepare for release 0.2
2021-03-18 19:33:15 +01:00
4eb16e8863
Allow to import keys from previous Garage instance
2021-03-18 19:24:59 +01:00
08bcd51956
GC object table in a specific case
2021-03-16 16:51:15 +01:00
f4346cc5f4
Update dependencies
2021-03-16 15:58:40 +01:00
1d9961e411
Simplify replication logic
2021-03-16 11:14:27 +01:00
6a8439fd13
Some improvements in background worker but we terminate late
2021-03-15 23:14:12 +01:00
0cd5b2ae19
WIP migrate to tokio 1
2021-03-15 22:36:41 +01:00
4d4117f2b4
Refactor block resync loop; make workers infaillible
2021-03-15 20:09:44 +01:00
667e4e72a8
Small fixes
2021-03-15 19:51:16 +01:00
642bed601f
Make it case-insensitive
2021-03-15 19:16:42 +01:00
5ee1d956b6
Allow manipulation of keys by their shorthand in the CLI
2021-03-15 19:14:26 +01:00
0290afe1f8
Make block rc code more understandable
2021-03-15 18:27:26 +01:00
3bf2df622a
Time and metadata improvements
2021-03-15 16:21:41 +01:00
097c339d98
Fix race condition
2021-03-15 15:26:29 +01:00
bdcbdd1cd8
Fix list API bug
2021-03-15 14:46:37 +01:00
831eb35763
cargo fmt
2021-03-12 21:52:19 +01:00
c475471e7a
Implement table gc, currently for block_ref and version only
2021-03-12 19:57:37 +01:00
3f7a496355
More security: don't delete stuff too easily
2021-03-11 19:06:27 +01:00
046b649bcc
(not well tested) use merkle tree for sync
2021-03-11 18:28:27 +01:00
94f3d28774
WIP big refactoring
2021-03-11 16:54:15 +01:00
8d63738cb0
Checkpoint: add merkle tree in data table
2021-03-11 13:47:21 +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
445912dc6a
Remove migration paths from 0.1 branch
2021-03-10 16:38:31 +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
3882d5ba36
Remove epidemic propagation for fully replicated stuff: write directly to all nodes
2021-03-05 15:09:18 +01:00
49c25a1509
Simulate stuff moving around
2021-02-25 10:53:33 +01:00
5fe95ebae7
fix tracing
2021-02-24 12:18:01 +01:00
13e2eda0c2
Arrange block manager
2021-02-24 11:58:03 +01:00
20e6e9fa20
Update sled & try to debug deadlock (but its in sled...)
2021-02-23 21:27:28 +01:00
bf25c95fe2
Make updated() be a sync function that doesn't fail
2021-02-23 20:25:15 +01:00
b1b640ae8b
rename hash() to sha256sum(), we might want to change it at some places
2021-02-21 15:24:30 +01:00
ceeb0732a2
Use 0.1.0b instead of 0.1.0 (for compatibility with new Error type)
2021-01-15 18:27:58 +01:00
1d1d497e2b
Bump everything to 0.1.1
2021-01-15 17:54:48 +01:00
ccda9ab1ca
Merge branch 'master' into feature/website
2020-12-17 21:09:50 +01:00
3bc4d57a0f
First implementation of the CLI
2020-12-15 12:48:24 +01:00
d0eb6a457f
Migrate RPC to new schema
2020-12-14 21:46:49 +01:00