aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Correction of a few bugs in the tests, modification of ClusterLayout::checkMendes2022-09-222-77/+137
|
* New version of the algorithm that calculate the layout.Mendes2022-09-215-325/+918
| | | | | | | | It takes as paramters the replication factor and the zone redundancy, computes the largest partition size reachable with these constraints, and among the possible assignation with this partition size, it computes the one that moves the least number of partitions compared to the previous assignation. This computation uses graph algorithms defined in graph_algo.rs
* Correct small formatting issueAlex Auvolat2022-05-051-3/+1
|
* Corrected the warnings and errors issued by cargo clippyMendes2022-05-011-15/+11
|
* Apply cargo fmtAlex Auvolat2022-05-011-444/+496
|
* Change the way new layout assignations are computed.Alex Auvolat2022-05-012-434/+448
| | | | | | The function now computes an optimal assignation (with respect to partition size) that minimizes the distance to the former assignation, using flow algorithms. This commit was written by Mendes Oulamara <mendes.oulamara@pm.me>
* Update to netapp 0.4.2 (a tiny fix)Alex Auvolat2022-04-071-1/+1
|
* Add feature flag for Kubernetes discoveryAlex Auvolat2022-03-244-73/+108
|
* Make layout optimization work in relative termsbug/layoutAlex Auvolat2022-03-241-9/+14
|
* Slight change and add comment to layout assignation algoAlex Auvolat2022-03-241-37/+33
|
* Small change to partition assignation algorithmAlex Auvolat2022-03-241-0/+28
| | | | | | This change helps ensure that nodes for each partition are spread over all datacenters, a property that wasn't ensured previously when going from a 2 DC deployment to a 3 DC deployment
* Update netapp to v0.4.1update-netappAlex Auvolat2022-03-151-1/+1
|
* Fix some new clippy lintsfix-resyncAlex Auvolat2022-03-143-10/+5
|
* Add wrapper over sled tree to count items (used for big queues)Alex Auvolat2022-03-141-1/+6
|
* Bump version to 0.7 because of incompatible NetappAlex Auvolat2022-03-142-4/+4
|
* Add spans to table calls, change span names in RPCAlex Auvolat2022-03-141-1/+15
|
* add missing netapp telemetry featureAlex Auvolat2022-03-141-1/+1
|
* 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
|