aboutsummaryrefslogtreecommitdiff
path: root/src/table/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Bump everything to v0.8.1Alex Auvolat2023-01-021-4/+4
|
* Change a warn! into a debug!less-noiseAlex Auvolat2022-09-201-0/+1
|
* Bump versions to 0.8.0 (compatibility is broken already)Alex Auvolat2022-09-061-3/+3
|
* Abstract database behind generic interface and implement alternative drivers ↵Alex2022-06-081-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#322) - [x] Design interface - [x] Implement Sled backend - [x] Re-implement the SledCountedTree hack ~~on Sled backend~~ on all backends (i.e. over the abstraction) - [x] Convert Garage code to use generic interface - [x] Proof-read converted Garage code - [ ] Test everything well - [x] Implement sqlite backend - [x] Implement LMDB backend - [ ] (Implement Persy backend?) - [ ] (Implement other backends? (like RocksDB, ...)) - [x] Implement backend choice in config file and garage server module - [x] Add CLI for converting between DB formats - Exploit the new interface to put more things in transactions - [x] `.updated()` trigger on Garage tables Fix #284 **Bugs** - [x] When exporting sqlite, trees iterate empty?? - [x] LMDB doesn't work **Known issues for various back-ends** - Sled: - Eats all my RAM and also all my disk space - `.len()` has to traverse the whole table - Is actually quite slow on some operations - And is actually pretty bad code... - Sqlite: - Requires a lock to be taken on all operations. The lock is also taken when iterating on a table with `.iter()`, and the lock isn't released until the iterator is dropped. This means that we must be VERY carefull to not do anything else inside a `.iter()` loop or else we will have a deadlock! Most such cases have been eliminated from the Garage codebase, but there might still be some that remain. If your Garage-over-Sqlite seems to hang/freeze, this is the reason. - (adapter uses a bunch of unsafe code) - Heed (LMDB): - Not suited for 32-bit machines as it has to map the whole DB in memory. - (adpater uses a tiny bit of unsafe code) **My recommendation:** avoid 32-bit machines and use LMDB as much as possible. **Converting databases** is actually quite easy. For example from Sled to LMDB: ```bash cd src/db cargo run --features cli --bin convert -- -i path/to/garage/meta/db -a sled -o path/to/garage/meta/db.lmdb -b lmdb ``` Then, just add this to your `config.toml`: ```toml db_engine = "lmdb" ``` Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/322 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Bump version to 0.7 because of incompatible NetappAlex Auvolat2022-03-141-3/+3
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-1/+1
|
* Implement basic metrics in tableMaximilien R2022-03-141-0/+2
|
* New model for bucketsAlex Auvolat2022-01-041-3/+3
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-3/+4
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* First port of Garage to NetappAlex Auvolat2021-10-221-4/+4
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-281-3/+3
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-3/+3
|
* Update Cargo.toml files with AGPL license infov0.2.0Alex Auvolat2021-03-181-4/+4
|
* Prepare for release 0.2Alex Auvolat2021-03-181-3/+3
|
* Update dependenciesAlex Auvolat2021-03-161-5/+3
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-1/+1
|
* WIP big refactoringAlex Auvolat2021-03-111-1/+0
|
* Update sled & try to debug deadlock (but its in sled...)Alex Auvolat2021-02-231-1/+1
|
* Bump everything to 0.1.1Alex Auvolat2021-01-151-2/+2
|
* data hexdump in warningfeature/better-crdtAlex Auvolat2020-11-201-0/+1
|
* Add support for model migrationsAlex Auvolat2020-07-081-1/+1
|
* Add versions to dependencies0.1.0Alex Auvolat2020-07-071-2/+2
|
* Add license, description and repository to .toml filesAlex Auvolat2020-07-071-0/+3
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+32