aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* [rel-0.9.2] Bump version to v0.9.2v0.9.2rel-0.9.2Alex Auvolat2024-03-011-9/+9
|
* [fix-auth-ct-eq] use argon2 hashing and verification for admin/metrics token ↵Alex Auvolat2024-02-291-0/+1
| | | | checking
* [import-netapp] import Netapp code into Garage codebaseAlex Auvolat2024-02-151-6/+9
|
* [fix-cargo-toml] fix cargo warnings in Cargo.toml filesfix-cargo-tomlAlex Auvolat2024-02-151-3/+3
|
* [dep-upgrade-202402] update toml, kube and k8s-openapiAlex Auvolat2024-02-081-3/+3
|
* [lto-nix] enable LTO for release builds using Nixlto-nixAlex Auvolat2024-02-081-1/+2
|
* Cargo.toml: Enable full LTO in release builds and thin in dev builds.Jonathan Davies2024-02-071-2/+5
|
* [dep-upgrade-202402] rename BytesBody into ErrorBody for clarityAlex Auvolat2024-02-071-1/+1
|
* [dep-upgrade-202402] upgrade to http/hyper 1.x for testsAlex Auvolat2024-02-051-2/+2
|
* [dep-upgrade-202402] wip: port to http/hyper crates v1Alex Auvolat2024-02-051-3/+4
|
* [dep-upgrade-202402] prepare migration to http/hyper 1.0Alex Auvolat2024-02-051-1/+1
|
* [dep-upgrade-202402] update aws-sdk dependenciesAlex Auvolat2024-02-051-3/+4
|
* [dep-upgrade-202402] upgrade easy dependenciesAlex Auvolat2024-02-051-7/+7
|
* [dep-upgrade-202402] refactor dependencies: move all as workspace depsAlex Auvolat2024-02-051-0/+100
|
* Bump version to 0.9.1v0.9.1rel-v0.9.1Alex Auvolat2024-01-161-8/+8
|
* bump version to v0.9.0v0.9.0nextAlex Auvolat2023-10-101-8/+8
|
* update version to 0.8.4v0.8.4hold-netapp-0.5.2Alex Auvolat2023-09-051-8/+8
|
* bump version to 0.8.3v0.8.3-rc1Alex Auvolat2023-08-281-8/+8
|
* bump k2v-client to v0.0.4k2v-client-aws-sigv4Alex Auvolat2023-05-221-1/+1
|
* Add basic k2v_client integration testsAlex Auvolat2023-05-221-0/+1
|
* fix clippy lint in format-table crateformat_table-v0.1.1split-format-tableAlex Auvolat2023-05-171-1/+1
|
* Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0Alex Auvolat2023-05-171-0/+2
|
* Allow to really disable sled featureJakub Jirutka2023-05-091-2/+2
|
* Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-091-0/+10
| | | | | | | | 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
* Use the new cargo feature resolver "2"Jakub Jirutka2022-09-061-0/+1
| | | | | | | | | | | | | | | Garage currently uses the legacy resolver "1". The new one is used by default if the root package specifies 'edition = 2021', which Garage does not (yet). The problem with the legacy resolver is, among others, that features enabled by dev-dependencies are propagated to normal dependencies. This affects e.g. hyper - one of the dev-dependencies enables "http2" feature that adds many extra dependencies. If we build garage without opentelemetry-otlp (this is enabled in the following commit), there's no normal dependency enabling "http2" feature. See https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
* Abstract database behind generic interface and implement alternative drivers ↵Alex2022-06-081-0/+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>
* First version of admin API (#298)Alex2022-05-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Spec:** - [x] Start writing - [x] Specify all layout endpoints - [x] Specify all endpoints for operations on keys - [x] Specify all endpoints for operations on key/bucket permissions - [x] Specify all endpoints for operations on buckets - [x] Specify all endpoints for operations on bucket aliases View rendered spec at <https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/admin-api/doc/drafts/admin-api.md> **Code:** - [x] Refactor code for admin api to use common api code that was created for K2V **General endpoints:** - [x] Metrics - [x] GetClusterStatus - [x] ConnectClusterNodes - [x] GetClusterLayout - [x] UpdateClusterLayout - [x] ApplyClusterLayout - [x] RevertClusterLayout **Key-related endpoints:** - [x] ListKeys - [x] CreateKey - [x] ImportKey - [x] GetKeyInfo - [x] UpdateKey - [x] DeleteKey **Bucket-related endpoints:** - [x] ListBuckets - [x] CreateBucket - [x] GetBucketInfo - [x] DeleteBucket - [x] PutBucketWebsite - [x] DeleteBucketWebsite **Operations on key/bucket permissions:** - [x] BucketAllowKey - [x] BucketDenyKey **Operations on bucket aliases:** - [x] GlobalAliasBucket - [x] GlobalUnaliasBucket - [x] LocalAliasBucket - [x] LocalUnaliasBucket **And also:** - [x] Separate error type for the admin API (this PR includes a quite big refactoring of error handling) - [x] Add management of website access - [ ] Check that nothing is missing wrt what can be done using the CLI - [ ] Improve formatting of the spec - [x] Make sure everyone is cool with the API design Fix #231 Fix #295 Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/298 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Add a K2V client library and CLI (#303)trinity-1686a2022-05-181-1/+4
| | | | | | | | | lib.rs could use getting split in modules, but I'm not sure how exactly Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/303 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Add missing src/block to toplevel cargo.tomlAlex Auvolat2022-03-231-0/+1
|
* Update dependencies and add admin module with metricsmricher2022-03-141-1/+2
| | | | | | | | | | - Global dependencies updated in Cargo.lock - New module created in src/admin to host: - the (future) admin REST API - the metric collection - add configuration block No metrics implemented yet
* Skeleton to the new web APIQuentin2020-11-021-0/+1
|
* Rename garage_core to garage_modelAlex Auvolat2020-07-071-1/+1
|
* Split code for modular compilationAlex Auvolat2020-04-241-41/+9
|
* Remove a few features in dependenciesAlex Auvolat2020-04-211-3/+2
|
* Pretty loggingAlex Auvolat2020-04-211-17/+21
|
* Add hostname to node infoAlex Auvolat2020-04-191-0/+1
|
* WIPAlex Auvolat2020-04-171-0/+1
| | | | | | TODOs: - ensure sync goes both way - finish sending blocks to other nodes when they need them before deleting
* Enable debug info in release profileAlex Auvolat2020-04-161-0/+3
|
* CleanupAlex Auvolat2020-04-121-1/+1
|
* TLS works \o/Alex Auvolat2020-04-121-3/+3
| | | | | | | | | So, the issues were: - webpki does not support IP addresses as DNS names in URLs, so I hacked the HttpsConnector to always provide a fixed string as the DNS name for server certificate validation - the certificate requied a SAN section which was complicated to build but eventually the solution is there in genkeys.sh
* Trying to do TLSAlex Auvolat2020-04-121-0/+5
|
* table::insert_many, version_table::updatedAlex Auvolat2020-04-111-1/+1
|
* (Try to) disable LTO ?Alex Auvolat2020-04-101-0/+3
|
* Something worksAlex Auvolat2020-04-091-0/+1
|
* Some workAlex Auvolat2020-04-081-0/+1
|
* Some work in actually storing thingsAlex Auvolat2020-04-081-1/+2
|
* custom data type for hashes and identifiersAlex Auvolat2020-04-071-0/+1
|
* Some workAlex Auvolat2020-04-061-0/+1
|
* Some more basic workAlex Auvolat2020-04-061-2/+5
|
* First commit: skeleton for something greatAlex Auvolat2020-04-051-0/+23