Alex Auvolat
af261e1789
Fix a bug when a migration is followed by a rebalance
...
Nodes would stabilize on different encoding formats for the values,
some having the pre-migration format and some having the post-migration
format. This would be reflected in the Merkle trees never converging
and thus having an infinite resync loop.
2022-02-10 17:38:27 +01:00
Alex Auvolat
8f6026de5e
Make table name a const in trait
2021-12-15 15:39:10 +01:00
Alex Auvolat
ad7ab31411
Implement GC delay for table data
2021-11-08 15:47:47 +01:00
Alex Auvolat
cc255d46cd
Refactor and comment table GC logic
2021-11-08 15:47:44 +01:00
Alex Auvolat
4067797d01
First port of Garage to Netapp
2021-10-22 15:55:18 +02:00
Trinity Pointard
e4b9e4e24d
rename types to CamelCase
2021-05-03 22:15:09 +02:00
Alex Auvolat
9ced9f78dc
Improve bootstraping: do it regularly; persist peer list
2021-04-27 16:37:08 +02:00
Alex Auvolat
7b10245dfb
Leader-based GC
2021-03-16 18:42:33 +01:00
Alex Auvolat
515029d026
Refactor code
2021-03-16 11:43:58 +01:00
Alex Auvolat
0cd5b2ae19
WIP migrate to tokio 1
2021-03-15 22:36:41 +01:00
Alex Auvolat
667e4e72a8
Small fixes
2021-03-15 19:51:16 +01:00
Alex Auvolat
831eb35763
cargo fmt
2021-03-12 21:52:19 +01:00
Alex Auvolat
c475471e7a
Implement table gc, currently for block_ref and version only
2021-03-12 19:57:37 +01:00
Alex Auvolat
a1442f072a
Implement garage stats to get info on node contents
2021-03-12 15:40:54 +01:00
Alex Auvolat
7fdaf7aef0
Fix merkle updater not being notified; improved logging
2021-03-12 14:37:46 +01:00
Alex Auvolat
046b649bcc
(not well tested) use merkle tree for sync
2021-03-11 18:28:27 +01:00
Alex Auvolat
94f3d28774
WIP big refactoring
2021-03-11 16:54:15 +01:00