aboutsummaryrefslogtreecommitdiff
path: root/src/util/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Configure structopt to report the right versionQuentin Dufour2022-08-291-0/+1
| | | | | | | | | | 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.
* Add a K2V client library and CLI (#303)trinity-1686a2022-05-181-0/+1
| | | | | | | | | 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 wrapper over sled tree to count items (used for big queues)Alex Auvolat2022-03-141-0/+1
|
* Refactor how durations are measuredAlex Auvolat2022-03-141-0/+1
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-1/+1
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-0/+1
| | | | | | | | | | | | | | | | | - 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 tranquilizer mechanism to improve on token bucket mechanismtranquilityAlex Auvolat2021-11-041-0/+1
|
* Refactoring on repair commandscli-verify-integrityAlex Auvolat2021-10-271-0/+1
|
* rename types to CamelCaseTrinity Pointard2021-05-031-1/+0
|
* fix clippy warnings on util and rpcTrinity Pointard2021-05-031-0/+1
|
* make most requested changesTrinity Pointard2021-04-271-1/+0
|
* document util crateTrinity Pointard2021-04-271-0/+3
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-271-0/+1
|
* Time and metadata improvementsAlex Auvolat2021-03-151-0/+1
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+7