Re:Turning SQLite into a Distributed Database
by losfair on Sunday August 21, 2022 @04:00PM
(#32543856)
FDB refuses to process writes (degraded write availability) when usable disk space goes below 10%. Nothing will be lost though.
[ Parent
| on HN ]
Re:Turning SQLite into a Distributed Database
by foobiekr on Saturday August 27, 2022 @12:24PM
(#32620618)
The problem here is when you try and recover the cluster by adding nodes - since FDB manages itself using transactions, this becomes very, very slow and painful if you've allowed multiple nodes to get into this state (which, because of balancing, is kind of how you get there).
Basically, fdb is great as long as you avoid this situation. If you do, woe unto you trying to being the cluster back online by adding nodes and hoping for rebalancing to fix things. It will, it is just very, very slow. I don't know if that's true in the current version.
Re:Turning SQLite into a Distributed Database
by tehbeard on Monday August 22, 2022 @01:59AM
(#32547868)
Good to know. and it seems to be tuneable with `knob_min_available_space_ratio`[0], as 10% free space on a 4TB drive would be 400GB.... Not exactly hurting for space there.
[0] https://forums.foundationdb.org/t/brand-new-macos-installati...