aboutsummaryrefslogtreecommitdiff
path: root/src/table/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Bump to version 1.0.1v1.0.1rel-v1.0.1Alex Auvolat2024-09-221-1/+1
|
* [next-0.10] bump version number to 1.0v1.0.0-rc1Alex Auvolat2024-03-281-1/+1
|
* Merge branch 'main' into next-0.10Alex Auvolat2024-02-131-13/+13
|\
| * [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-13/+13
| |
| * Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-1/+1
| |
* | bump crate versions to 0.10.0v0.10.0-beta1Alex Auvolat2024-01-111-1/+1
|/
* bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-1/+1
|
* update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-1/+1
|
* bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-1/+1
|
* Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-3/+3
| | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
* Prepare for v0.8.2Alex Auvolat2023-03-131-4/+4
|
* Cargo.toml: Loosen tracing dependency to just 0.1.Jonathan Davies2023-01-261-1/+1
|
* Make it explicit when using nonversioned encodingAlex Auvolat2023-01-031-1/+0
|
* Merge branch 'main' into internals-reworkinternals-reworkAlex Auvolat2023-01-021-4/+4
|\
| * Bump everything to v0.8.1Alex Auvolat2023-01-021-4/+4
| |
* | Spawn all background workers in a separate stepAlex Auvolat2022-12-141-0/+1
|/
* 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