Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [peer-metrics] refactor SystemMetrics to hold a reference to System | Alex Auvolat | 2024-02-20 | 1 | -12/+16 |
| | |||||
* | [peer-metrics] Add metrics for cluster health, like GetClusterHealth admin API | Alex Auvolat | 2024-02-20 | 1 | -3/+9 |
| | |||||
* | [peer-metrics] refactor/simplify SystemMetrics | Alex Auvolat | 2024-02-20 | 1 | -56/+21 |
| | |||||
* | [networking-fixes] add option to bind outgoing RPC sockets (fix #638) | Alex Auvolat | 2024-02-19 | 1 | -1/+4 |
| | | | | Thanks to yuka for the original patch. | ||||
* | [networking-fixes] use rpc_public_addr in netapp's HelloMessage | Alex Auvolat | 2024-02-19 | 1 | -5/+5 |
| | |||||
* | [import-netapp] move and rename FullMeshPeeringSrategy to PeeringManagerimport-netapp | Alex Auvolat | 2024-02-15 | 1 | -11/+11 |
| | |||||
* | [import-netapp] import Netapp code into Garage codebase | Alex Auvolat | 2024-02-15 | 1 | -6/+6 |
| | |||||
* | help, comments: make clear that full-length node ID = public key | Alex Auvolat | 2024-01-16 | 1 | -1/+1 |
| | | | | Generally, avoid using the "public key" terminology | ||||
* | fix compilation on macos | trinity-1686a | 2023-10-15 | 1 | -2/+2 |
| | | | | fsblkcnt_t is ony 32b there, so we have to do an additional cast | ||||
* | Merge branch 'main' into next | Alex Auvolat | 2023-09-27 | 1 | -9/+9 |
|\ | |||||
| * | fix hang on shutdown | Alex Auvolat | 2023-09-12 | 1 | -9/+9 |
| | | |||||
* | | new layout: fix clippy lints | Alex Auvolat | 2023-09-18 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'main' into nextv0.9.0-beta2 | Alex Auvolat | 2023-09-11 | 1 | -2/+2 |
|\| | |||||
| * | fix 32-bit buildfix-32bit | Alex Auvolat | 2023-09-11 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-09-11 | 1 | -36/+30 |
|\| | |||||
| * | use statvfs instead of mount list to determine free data/meta space (fix #611) | Alex Auvolat | 2023-09-11 | 1 | -9/+8 |
| | | |||||
* | | correct free data space accounting for multiple data dirs on same fs | Alex Auvolat | 2023-09-07 | 1 | -5/+23 |
| | | |||||
* | | block manager: skeleton for multi-hdd support | Alex Auvolat | 2023-09-06 | 1 | -4/+19 |
| | | |||||
* | | admin api: switch GetClusterHealth to camelcase (fix #381 again) | Alex Auvolat | 2023-06-14 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-04-25 | 1 | -15/+89 |
|\| | |||||
| * | More clippy fixes | Alex Auvolat | 2023-01-26 | 1 | -2/+2 |
| | | |||||
| * | Add local disk usage to exported prometheus metricsreport-disk-usage | Alex Auvolat | 2023-01-26 | 1 | -9/+28 |
| | | |||||
| * | Disk space report | Alex Auvolat | 2023-01-26 | 1 | -14/+59 |
| | | | | | | | | Report available disk space on nodes and calculate cluster-wide available space in `garage stats` (fix #479) | ||||
| * | system.rs: Integrated SystemMetrics into System implementation. | Jonathan Davies | 2023-01-10 | 1 | -0/+10 |
| | | |||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-01-04 | 1 | -58/+65 |
|\| | |||||
| * | Fix Consul & Kubernetes discovery with new way of doing background thingsfix-background | Alex Auvolat | 2023-01-03 | 1 | -17/+22 |
| | | |||||
| * | Refactor how things are migrated | Alex Auvolat | 2023-01-03 | 1 | -5/+13 |
| | | |||||
| * | better error message handling | Alex Auvolat | 2022-12-14 | 1 | -11/+12 |
| | | |||||
| * | Get rid of background::spawn | Alex Auvolat | 2022-12-14 | 1 | -16/+13 |
| | | |||||
| * | Improve error message on rpc connection failure | Alex Auvolat | 2022-12-14 | 1 | -7/+9 |
| | | |||||
| * | Refactor background runner and get rid of job worker | Alex Auvolat | 2022-12-14 | 1 | -15/+9 |
| | | |||||
* | | Merge commit 'ec12d6c' into next | Alex Auvolat | 2022-12-11 | 1 | -3/+3 |
|\ \ | |/ |/| | |||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 1 | -3/+3 |
| | | |||||
* | | Refactor health check and add ability to return it in json | Alex Auvolat | 2022-12-05 | 1 | -1/+98 |
|/ | |||||
* | move things around | Alex Auvolat | 2022-10-18 | 1 | -9/+8 |
| | |||||
* | Load TLS certificates only once | Alex Auvolat | 2022-10-18 | 1 | -8/+14 |
| | |||||
* | Add TLS support for Consul discovery + refactoring | Alex Auvolat | 2022-10-18 | 1 | -44/+26 |
| | |||||
* | Fix instant substractions that might have panickedfix-time | Alex Auvolat | 2022-09-29 | 1 | -1/+3 |
| | |||||
* | RPC performance changes | Alex Auvolat | 2022-09-19 | 1 | -4/+12 |
| | | | | | | - configurable ping timeout - single, much higher, configurable RPC timeout - no more concurrency semaphore | ||||
* | Allow for hostnames in bootstrap_peers and rpc_public_addr (fix #353)resolve-peer-names | Alex Auvolat | 2022-09-14 | 1 | -16/+57 |
| | |||||
* | Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8 | Alex Auvolat | 2022-09-13 | 1 | -5/+25 |
| | |||||
* | Merge branch 'lx-perf-improvements' into netapp-stream-body | Alex Auvolat | 2022-09-08 | 1 | -7/+4 |
|\ | |||||
| * | Move GIT_VERSION injection later in build chain to reduce build times | Alex Auvolat | 2022-09-07 | 1 | -7/+4 |
| | | |||||
* | | Less strict timeouts | Alex Auvolat | 2022-09-01 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'lx-perf-improvements' into netapp-stream-body | Alex Auvolat | 2022-08-29 | 1 | -5/+2 |
|\| | |||||
| * | Configure structopt to report the right versionv0.7.2_ci-test-2bug/reported-version | Quentin Dufour | 2022-08-11 | 1 | -5/+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. | ||||
* | | First adaptation to WIP netapp with streaming body | Alex Auvolat | 2022-07-29 | 1 | -3/+4 |
|/ | |||||
* | Background task manager (#332) | Alex | 2022-07-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | - [x] New background worker trait - [x] Adapt all current workers to use new API - [x] Command to list currently running workers, and whether they are active, idle, or dead - [x] Error reporting - Optimizations - [x] Merkle updater: several items per iteration - [ ] Use `tokio::task::spawn_blocking` where appropriate so that CPU-intensive tasks don't block other things going on - scrub: - [x] have only one worker with a channel to start/pause/cancel - [x] automatic scrub - [x] ability to view and change tranquility from CLI - [x] persistence of a few info - [ ] Testing Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/332 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 | -48/+84 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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 feature flag for Kubernetes discovery | Alex Auvolat | 2022-03-24 | 1 | -63/+97 |
| |