Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'main' into next | Alex Auvolat | 2023-10-10 | 1 | -0/+3 |
|\ | |||||
| * | Move convert_db command into main garage binaryconvert-db-main-binary | Alex Auvolat | 2023-10-10 | 1 | -0/+3 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-05-09 | 1 | -0/+6 |
|\| | |||||
| * | move git-version dependency to main crate to reduce rebuilds | Alex Auvolat | 2023-05-09 | 1 | -0/+6 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-04-25 | 1 | -8/+40 |
|\| | |||||
| * | fixes for pr 499config-files-env | Alex Auvolat | 2023-02-06 | 1 | -1/+2 |
| | | |||||
| * | secrets can be passed directly in config, as file, or as env | Alex Auvolat | 2023-02-03 | 1 | -7/+38 |
| | | |||||
| * | Implement `rpc_secret_file` | Felix Scheinost | 2023-01-04 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-01-04 | 1 | -15/+21 |
|\| | |||||
| * | Prettier worker list table; remove useless CLI log messages | Alex Auvolat | 2022-12-12 | 1 | -15/+21 |
| | | |||||
* | | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 1 | -0/+3 |
|/ | |||||
* | Show a nice message and a backtrace when Garage panics | Alex Auvolat | 2022-11-04 | 1 | -16/+40 |
| | |||||
* | Add TLS support for Consul discovery + refactoring | Alex Auvolat | 2022-10-18 | 1 | -0/+2 |
| | |||||
* | Allow for hostnames in bootstrap_peers and rpc_public_addr (fix #353)resolve-peer-names | Alex Auvolat | 2022-09-14 | 1 | -1/+7 |
| | |||||
* | Merge branch 'main' into lx-perf-improvements | Alex Auvolat | 2022-09-08 | 1 | -3/+45 |
|\ | |||||
| * | Move version back into utilimprove-deps | Alex Auvolat | 2022-09-07 | 1 | -3/+3 |
| | | |||||
| * | Inject GIT_VERSION even later | Alex Auvolat | 2022-09-07 | 1 | -2/+7 |
| | | |||||
| * | Error messages when system-libs XOR bundled-libs != 1 | Alex Auvolat | 2022-09-07 | 1 | -0/+6 |
| | | |||||
| * | Report build features in garage --help | Alex Auvolat | 2022-09-07 | 1 | -3/+33 |
| | | |||||
| * | Move GIT_VERSION injection later in build chain to reduce build times | Alex Auvolat | 2022-09-07 | 1 | -2/+2 |
| | | |||||
| * | Make OTLP exporter optional via feature "telemetry-otlp" | Jakub Jirutka | 2022-09-06 | 1 | -0/+1 |
| | | | | | | | | | | opentelemetry-otlp add 48 (!) extra dependencies and increases the size of the garage binary by ~11 % (with fat LTO). | ||||
* | | Add env filter to tracing subscriber | Alex Auvolat | 2022-08-31 | 1 | -0/+1 |
| | | |||||
* | | Tracing-subscriber: write to stderr | Alex Auvolat | 2022-08-31 | 1 | -1/+3 |
| | | |||||
* | | Replace logging crate pretty_env_logger by tracing_subscriber::fmt | Alex Auvolat | 2022-08-31 | 1 | -1/+1 |
|/ | |||||
* | Configure structopt to report the right versionv0.7.2_ci-test-2bug/reported-version | Quentin Dufour | 2022-08-11 | 1 | -1/+2 |
| | | | | | | | | | | By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var. | ||||
* | improve internal item counter mechanisms and implement bucket quotas (#326) | Alex | 2022-06-15 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | - [x] Refactoring of internal counting API - [x] Repair procedure for counters (it's an offline procedure!!!) - [x] New counter for objects in buckets - [x] Add quotas to buckets struct - [x] Add CLI to manage bucket quotas - [x] Add admin API to manage bucket quotas - [x] Apply quotas by adding checks on put operations - [x] Proof-read Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/326 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> | ||||
* | First version of admin API (#298) | Alex | 2022-05-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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> | ||||
* | Fix some new clippy lintsfix-resync | Alex Auvolat | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | Update to Netapp 0.4 which supports distributed tracing | Alex Auvolat | 2022-03-14 | 1 | -2/+2 |
| | |||||
* | Add tracing integration with opentelemetry | Alex Auvolat | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updates | Alex Auvolat | 2022-01-04 | 1 | -2/+2 |
| | |||||
* | Some movement of helper code and refactoring of error handling | Alex Auvolat | 2022-01-04 | 1 | -1/+7 |
| | |||||
* | Improve how node roles are assigned in Garagev0.5-beta1 | Alex Auvolat | 2021-11-16 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | - 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. | ||||
* | Add environment variables equivalents for some CLI options. | Jill | 2021-11-03 | 1 | -3/+8 |
| | |||||
* | CLI: default rpc_hostv0.4-rc1 | Alex Auvolat | 2021-10-26 | 1 | -5/+20 |
| | |||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 1 | -22/+58 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 1 | -2/+1 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 1 | -43/+28 |
| | |||||
* | try parsing rpc-host command-line parameter | Trinity Pointard | 2021-06-01 | 1 | -1/+10 |
| | |||||
* | make most requested changes | Trinity Pointard | 2021-04-27 | 1 | -2/+1 |
| | |||||
* | document garage crate | Trinity Pointard | 2021-04-27 | 1 | -1/+3 |
| | |||||
* | cargo fmt | Alex Auvolat | 2021-03-12 | 1 | -5/+5 |
| | |||||
* | Refactor CLI and prettify CLI outpu | Alex Auvolat | 2021-03-12 | 1 | -508/+28 |
| | |||||
* | Implement garage stats to get info on node contents | Alex Auvolat | 2021-03-12 | 1 | -0/+18 |
| | |||||
* | Rename n_tokens into capacity | Alex Auvolat | 2021-03-10 | 1 | -10/+10 |
| | |||||
* | Some refactoring | Alex Auvolat | 2021-02-21 | 1 | -0/+1 |
| | |||||
* | Start to implement Website CLI | Quentin | 2020-12-14 | 1 | -0/+3 |
| | |||||
* | WIP table migration | Quentin | 2020-12-12 | 1 | -4/+4 |
| | |||||
* | CLI structure | Quentin | 2020-12-10 | 1 | -0/+15 |
| | |||||
* | Split code for modular compilation | Alex Auvolat | 2020-04-24 | 1 | -0/+531 |