aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: rename config files, make modifications less invasiveAlex Auvolat2022-03-141-137/+151
|
* Add metrics to API endpointAlex Auvolat2022-03-141-3/+4
|
* Refactor how durations are measuredAlex Auvolat2022-03-142-12/+6
|
* Update to Netapp 0.4 which supports distributed tracingAlex Auvolat2022-03-143-18/+13
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-144-135/+163
|
* Add many metrics in table/ and rpc/Alex Auvolat2022-03-144-5/+95
|
* add support for kubernetes service discoveryMax Audron2022-03-124-1/+206
| | | | | | | | | | | | | | | | | | | | | 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.
* Some movement of helper code and refactoring of error handlingAlex Auvolat2022-01-041-1/+1
|
* New model for bucketsAlex Auvolat2022-01-041-2/+2
|
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-166-213/+674
| | | | | | | | | | | | | | | | | - 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.
* Request strategy: don't launch all 3 requests if not neededv0.4-rc2Alex Auvolat2021-11-042-45/+152
|
* Add semaphore to limit RAM used by buffered outgoing requestsrequest-buffer-semaphoreAlex Auvolat2021-11-032-7/+31
|
* Fix peer list persistence: do not forget previous peersAlex Auvolat2021-11-031-7/+23
|
* Use published netapp crate instead of git repoAlex Auvolat2021-10-261-1/+2
|
* Fix clippy lints (fix #121)Alex Auvolat2021-10-261-1/+1
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-252-56/+113
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-225-147/+348
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-229-1493/+589
|
* Support pkcs8 private keys (allowing for ed25519 to be used for rpc)Alex Auvolat2021-07-061-8/+9
|
* exit when inconsistent level of replication is detected (#92)trinity-1686a2021-06-021-0/+16
| | | | | | | | | fix #88 Authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/92 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* make most changes suggested during install-partyTrinity Pointard2021-05-291-3/+7
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-283-9/+45
|
* Rename datacenters into zones (doc not yet updated)Alex Auvolat2021-05-281-9/+9
|
* Many improvements on ring/replication and its configuration:Alex Auvolat2021-05-282-46/+114
| | | | | | | | | | | | | | | | | | | | - Explicit "replication_mode" configuration parameters that takes either "none", "2" or "3" as values, instead of letting user configure replication factor themselves. These are presets whose corresponding replication/quorum values can be found in replication/mode.rs - Explicit support for single-node and two-node deployments (number of nodes must be at least "replication_mode", with "none" we can have only one node) - Ring is now stored much more compactly with 256*8 + n*32 bytes, instead of 256*32 bytes - Support for gateway-only nodes that do not store data (these nodes still need a metadata_directory to store the list of bucket and keys since those are stored on all nodes; it also technically needs a data_directory to start but it will stay empty unless we have bugs)
* rename types to CamelCaseTrinity Pointard2021-05-035-35/+34
|
* fix clippy warnings on util and rpcTrinity Pointard2021-05-035-45/+38
|
* change some more comments and revert changes on TableSchemaTrinity Pointard2021-04-272-3/+3
|
* make most requested changesTrinity Pointard2021-04-274-11/+14
|
* remove useless commentAlex Auvolat2021-04-271-1/+0
|
* run cargo fmt on util and make missing doc warningTrinity Pointard2021-04-271-1/+1
|
* document rpc crateTrinity Pointard2021-04-275-9/+99
|
* small simplifyAlex Auvolat2021-04-271-3/+1
|
* Merge discovery loop with consulAlex Auvolat2021-04-271-37/+22
|
* cargo fmtAlex Auvolat2021-04-271-1/+0
|
* Print statsAlex Auvolat2021-04-271-1/+1
|
* Cargo fmtAlex Auvolat2021-04-271-1/+3
|
* Keep old dataAlex Auvolat2021-04-271-4/+20
|
* Persist directly and not in backgroundAlex Auvolat2021-04-271-12/+11
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-271-63/+117
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-2/+2
|
* Update Cargo.toml files with AGPL license infov0.2.0Alex Auvolat2021-03-181-4/+4
|
* Prepare for release 0.2Alex Auvolat2021-03-181-2/+2
|
* Update dependenciesAlex Auvolat2021-03-164-12/+7
|
* Simpler Merkle & syncAlex Auvolat2021-03-161-1/+20
|
* Simplify replication logicAlex Auvolat2021-03-161-1/+7
|
* Some improvements in background worker but we terminate lateAlex Auvolat2021-03-154-23/+22
|
* WIP migrate to tokio 1Alex Auvolat2021-03-154-24/+24
|
* Refactor block resync loop; make workers infaillibleAlex Auvolat2021-03-151-4/+1
|
* Tiny thingsAlex Auvolat2021-03-151-1/+1
|
* Time and metadata improvementsAlex Auvolat2021-03-151-0/+1
|