Commit graph

72 commits

Author SHA1 Message Date
Trinity Pointard e44bec738c fix blocksync not resyncing compressed blocs properly 2021-05-31 23:31:17 +02:00
Alex f6f0c6f515
cargo fmt 2021-04-27 16:58:44 +02:00
Alex 7ba1364c08
Small improvements to compression code 2021-04-27 16:53:49 +02:00
Trinity Pointard cb02ce3eb2
use zstd checksumming 2021-04-27 16:53:49 +02:00
Trinity Pointard 5a52c4c7f3
delete plain block when getting a compressed one 2021-04-27 16:53:48 +02:00
Trinity Pointard 64818d3720
change extention for compressed files
set_extension don't behave verywell with extensions containing multiple dots
2021-04-27 16:53:48 +02:00
Trinity Pointard 96c7040a8a
add checksum to end of file instead of decompressing 2021-04-27 16:53:48 +02:00
Trinity Pointard 05dd441e9c
use BlockData instead of Vec+bool 2021-04-27 16:53:48 +02:00
Trinity Pointard cffa9821c1
compress blocs with zstd 2021-04-27 16:53:48 +02:00
Alex 119217f9f6
change a few comments 2021-04-27 16:53:47 +02:00
Trinity Pointard 2812a027ea
change some more comments and revert changes on TableSchema 2021-04-27 16:49:07 +02:00
Trinity Pointard 74373aebcf
make most requested changes 2021-04-27 16:47:08 +02:00
Trinity Pointard 1e3df189d0
document api crate 2021-04-27 16:37:10 +02:00
Trinity Pointard 67585a4ffa
attempt at documenting model crate 2021-04-27 16:37:10 +02:00
Trinity Pointard b437610812
attempt at documenting table crate 2021-04-27 16:37:10 +02:00
Alex 9ced9f78dc
Improve bootstraping: do it regularly; persist peer list 2021-04-27 16:37:08 +02:00
Alex f859d15062 update to v0.2.1 2021-03-19 13:39:18 +01:00
Alex 4c26a0b9c1 Update Cargo.toml files with AGPL license info 2021-03-18 21:59:17 +01:00
Alex dead945c8f Prepare for release 0.2 2021-03-18 19:33:15 +01:00
Alex 4eb16e8863 Allow to import keys from previous Garage instance 2021-03-18 19:24:59 +01:00
Alex 08bcd51956 GC object table in a specific case 2021-03-16 16:51:15 +01:00
Alex f4346cc5f4 Update dependencies 2021-03-16 15:58:40 +01:00
Alex 1d9961e411 Simplify replication logic 2021-03-16 11:14:27 +01:00
Alex 6a8439fd13 Some improvements in background worker but we terminate late 2021-03-15 23:14:12 +01:00
Alex 0cd5b2ae19 WIP migrate to tokio 1 2021-03-15 22:36:41 +01:00
Alex 4d4117f2b4 Refactor block resync loop; make workers infaillible 2021-03-15 20:09:44 +01:00
Alex 667e4e72a8 Small fixes 2021-03-15 19:51:16 +01:00
Alex 642bed601f Make it case-insensitive 2021-03-15 19:16:42 +01:00
Alex 5ee1d956b6 Allow manipulation of keys by their shorthand in the CLI 2021-03-15 19:14:26 +01:00
Alex 0290afe1f8 Make block rc code more understandable 2021-03-15 18:27:26 +01:00
Alex 3bf2df622a Time and metadata improvements 2021-03-15 16:21:41 +01:00
Alex 097c339d98 Fix race condition 2021-03-15 15:26:29 +01:00
Alex bdcbdd1cd8 Fix list API bug 2021-03-15 14:46:37 +01:00
Alex 831eb35763 cargo fmt 2021-03-12 21:52:19 +01:00
Alex c475471e7a Implement table gc, currently for block_ref and version only 2021-03-12 19:57:37 +01:00
Alex 3f7a496355 More security: don't delete stuff too easily 2021-03-11 19:06:27 +01:00
Alex 046b649bcc (not well tested) use merkle tree for sync 2021-03-11 18:28:27 +01:00
Alex 94f3d28774 WIP big refactoring 2021-03-11 16:54:15 +01:00
Alex 8d63738cb0 Checkpoint: add merkle tree in data table 2021-03-11 13:47:21 +01:00
Alex 3214dd52dd Very minor changes 2021-03-10 21:50:09 +01:00
Alex af7600f989 Correctly implement CompleteMultipartUpload with etag check of parts 2021-03-10 17:01:05 +01:00
Alex 445912dc6a Remove migration paths from 0.1 branch 2021-03-10 16:38:31 +01:00
Alex 0fd7df8fa0 Switch to blake2 sum for identifying blocks by their data 2021-03-10 16:33:31 +01:00
Alex f319a7d374 Refactor model stuff, including cleaner CRDTs 2021-03-10 16:21:56 +01:00
Alex 3882d5ba36 Remove epidemic propagation for fully replicated stuff: write directly to all nodes 2021-03-05 15:09:18 +01:00
Alex 49c25a1509 Simulate stuff moving around 2021-02-25 10:53:33 +01:00
Alex 5fe95ebae7 fix tracing 2021-02-24 12:18:01 +01:00
Alex 13e2eda0c2 Arrange block manager 2021-02-24 11:58:03 +01:00
Alex 20e6e9fa20 Update sled & try to debug deadlock (but its in sled...) 2021-02-23 21:27:28 +01:00
Alex bf25c95fe2 Make updated() be a sync function that doesn't fail 2021-02-23 20:25:15 +01:00