aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into admin-apiAlex Auvolat2022-05-181-18/+193
|\
| * Add a K2V client library and CLI (#303)trinity-1686a2022-05-181-18/+193
| | | | | | | | | | | | | | | | | | 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>
* | Refactor code for apply/revert, implement Update/Apply/RevertLayoutAlex Auvolat2022-05-101-1/+1
| |
* | Refactor admin API to be in api/admin and use common codeAlex Auvolat2022-05-101-19/+7
|/
* First implementation of K2V (#293)Alex2022-05-101-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Specification:** View spec at [this URL](https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/k2v/doc/drafts/k2v-spec.md) - [x] Specify the structure of K2V triples - [x] Specify the DVVS format used for causality detection - [x] Specify the K2V index (just a counter of number of values per partition key) - [x] Specify single-item endpoints: ReadItem, InsertItem, DeleteItem - [x] Specify index endpoint: ReadIndex - [x] Specify multi-item endpoints: InsertBatch, ReadBatch, DeleteBatch - [x] Move to JSON objects instead of tuples - [x] Specify endpoints for polling for updates on single values (PollItem) **Implementation:** - [x] Table for K2V items, causal contexts - [x] Indexing mechanism and table for K2V index - [x] Make API handlers a bit more generic - [x] K2V API endpoint - [x] K2V API router - [x] ReadItem - [x] InsertItem - [x] DeleteItem - [x] PollItem - [x] ReadIndex - [x] InsertBatch - [x] ReadBatch - [x] DeleteBatch **Testing:** - [x] Just a simple Python script that does some requests to check visually that things are going right (does not contain parsing of results or assertions on returned values) - [x] Actual tests: - [x] Adapt testing framework - [x] Simple test with InsertItem + ReadItem - [x] Test with several Insert/Read/DeleteItem + ReadIndex - [x] Test all combinations of return formats for ReadItem - [x] Test with ReadBatch, InsertBatch, DeleteBatch - [x] Test with PollItem - [x] Test error codes - [ ] Fix most broken stuff - [x] test PollItem broken randomly - [x] when invalid causality tokens are given, errors should be 4xx not 5xx **Improvements:** - [x] Descending range queries - [x] Specify - [x] Implement - [x] Add test - [x] Batch updates to index counter - [x] Put K2V behind `k2v` feature flag Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/293 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Update netapp to 0.4.4, fix #300v0.7.1netapp-0.4.4Alex Auvolat2022-05-091-6/+6
|
* Update to netapp 0.4.2 (a tiny fix)Alex Auvolat2022-04-071-6/+6
|
* Add feature flag for Kubernetes discoveryAlex Auvolat2022-03-241-113/+47
|
* Move block manager to separate moduleAlex Auvolat2022-03-231-0/+25
|
* add test framework for arbitraty S3 requeststrinity-1686a2022-03-231-26/+30
| | | | and implement some basic test with it
* Update netapp to v0.4.1update-netappAlex Auvolat2022-03-151-6/+6
|
* Bump version to 0.7 because of incompatible NetappAlex Auvolat2022-03-141-25/+25
|
* add missing netapp telemetry featureAlex Auvolat2022-03-141-13/+69
|
* Add metrics to web endpointAlex Auvolat2022-03-141-0/+1
|
* Refactor how durations are measuredAlex Auvolat2022-03-141-1/+2
|
* Remove strum crate dependency; add protobuf nix dependencyAlex Auvolat2022-03-141-21/+0
|
* Update to Netapp 0.4 which supports distributed tracingAlex Auvolat2022-03-141-7/+30
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-14/+303
|
* Add many metrics in table/ and rpc/Alex Auvolat2022-03-141-1/+2
|
* Implement basic metrics in tableMaximilien R2022-03-141-0/+1
|
* Update dependencies and add admin module with metricsmricher2022-03-141-0/+81
| | | | | | | | | | - 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
* add support for kubernetes service discoveryMax Audron2022-03-121-208/+872
| | | | | | | | | | | | | | | | | | | | | This commit adds support to discover garage instances running in kubernetes. Once enabled by setting `kubernetes_namespace` and `kubernetes_service_name` garage will create a Custom Resources `garagenodes.deuxfleurs.fr` with nodes public key as the resource name. and IP and Port information as spec in the namespace configured by `kubernetes_namespace`. For discovering nodes the resources are filtered with the optionally set `kubernetes_service_name` which sets a label `garage.deuxfleurs.fr/service` on the resources. This allows to separate multiple garage deployments in a single namespace. the `kubernetes_skip_crd` variable allows to disable the creation of the CRD by garage itself. The user must deploy this manually.
* Functional tests for website endpointsQuentin Dufour2022-03-071-0/+1
|
* Support for PostObject (#222)trinity-1686a2022-02-211-1/+43
| | | | | | | | | | | | | | | | | | Add support for [PostObject](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html) - [x] routing PostObject properly - [x] parsing multipart body - [x] validating signature - [x] validating policy - [x] validating content length - [x] actually saving data Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/222 Reviewed-by: Alex <alex@adnab.me> Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* tests: Add garage integration tests (base)Jill2022-02-101-10/+644
|
* Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD (#64) (#156)Jill2022-01-171-0/+39
| | | | | | | | Closes #64. Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/156 Co-authored-by: Jill <kokakiwi@deuxfleurs.fr> Co-committed-by: Jill <kokakiwi@deuxfleurs.fr>
* Some movement of helper code and refactoring of error handlingAlex Auvolat2022-01-041-0/+1
|
* New buckets for 0.6.0: small fixes, including:Alex Auvolat2022-01-041-0/+1
| | | | | | | | - ensure bucket names are correct aws s3 names - when making aliases, ensure timestamps of links in both ways are the same - fix small remarks by trinity - don't have a separate website_access field
* New buckets for 0.6.0: migration code and build filesAlex Auvolat2022-01-041-15/+16
|
* Model changesAlex Auvolat2022-01-041-0/+1
|
* New model for bucketsAlex Auvolat2022-01-041-19/+119
|
* Add compression using zstd (#173)trinity-1686a2021-12-151-0/+42
| | | | | | | | | fix #27 Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/173 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-161-7/+8
| | | | | | | | | | | | | | | | | - 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 support for vhost-style s3 bucketTrinity Pointard2021-11-161-1/+1
|
* Use published netapp crate instead of git repoAlex Auvolat2021-10-261-1/+2
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-251-1/+1
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-221-213/+12
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-221-311/+392
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-281-14/+69
|
* S3 API: support ListBucketsQuentin Dufour2021-05-031-0/+12
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-9/+9
|
* Support old CPUsmasterAlex Auvolat2021-03-191-108/+22
|
* Prepare for release 0.2Alex Auvolat2021-03-181-173/+111
|
* Update dependenciesAlex Auvolat2021-03-161-183/+71
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-190/+84
|
* Time and metadata improvementsAlex Auvolat2021-03-151-0/+1
|
* Implement garage stats to get info on node contentsAlex Auvolat2021-03-121-0/+23
|
* WIP big refactoringAlex Auvolat2021-03-111-1/+2
|
* Remove migration paths from 0.1 branchAlex Auvolat2021-03-101-235/+25
|
* Update sled & try to debug deadlock (but its in sled...)Alex Auvolat2021-02-231-15/+149
|