aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
* Migration of cluster layout from v0.8 to v0.9Alex Auvolat2023-01-111-60/+178
|
* Changed all instances of assignation to assignment.Jonathan Davies2023-01-053-70/+70
|
* Merge branch 'main' into nextAlex Auvolat2023-01-044-75/+75
|\
| * Fix Consul & Kubernetes discovery with new way of doing background thingsfix-backgroundAlex Auvolat2023-01-031-17/+22
| |
| * Make it explicit when using nonversioned encodingAlex Auvolat2023-01-032-6/+6
| |
| * Refactor how things are migratedAlex Auvolat2023-01-032-5/+15
| |
| * Merge branch 'main' into internals-reworkinternals-reworkAlex Auvolat2023-01-021-2/+2
| |\
| | * Bump everything to v0.8.1Alex Auvolat2023-01-021-2/+2
| | |
| * | better error message handlingAlex Auvolat2022-12-141-11/+12
| | |
| * | Get rid of background::spawnAlex Auvolat2022-12-141-16/+13
| | |
| * | Improve error message on rpc connection failureAlex Auvolat2022-12-141-7/+9
| | |
| * | Refactor background runner and get rid of job workerAlex Auvolat2022-12-142-28/+14
| |/
* | Merge pull request 'Optimal layout assignation algorithm' (#296) from ↵Alex2022-12-111-4/+2
|\ \ | | | | | | | | | | | | | | | optimal-layout into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296
| * | itertools .unique() doesn't require sorted itemsAlex Auvolat2022-12-111-4/+2
| | |
* | | Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-116-414/+1278
|\| | | |/ |/|
| * Slightly simplify code at placesAlex Auvolat2022-11-081-43/+18
| |
| * Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-082-27/+49
| |
| * Use bytes as capacity unitsAlex Auvolat2022-11-073-47/+50
| |
| * Ensure .sort() is called before counting unique itemsAlex Auvolat2022-11-071-16/+14
| |
| * Style improvementsAlex Auvolat2022-11-072-263/+257
| |
| * Merge branch 'main' into optimal-layoutAlex Auvolat2022-11-075-161/+176
| |\
| * | Added some commentMendes2022-10-112-109/+132
| | |
| * | Improved the statistics displayed in layout showMendes2022-10-111-39/+66
| | | | | | | | | | | | corrected a few bugs
| * | cargo fmtMendes2022-10-104-987/+1103
| | |
| * | Tests written in layout.rsMendes2022-10-102-142/+104
| | | | | | | | | | | | | | | added staged_parameters to ClusterLayout removed the serde(default) -> will need a migration function
| * | corrected warnings of cargo clippyMendes2022-10-062-71/+66
| | |
| * | Corrected two bugs:Mendes2022-10-062-21/+36
| | | | | | | | | | | | | | | - self.node_id_vec was not properly updated when the previous ring was empty - ClusterLayout::merge was not considering changes in the layout parameters
| * | modifications in several files to :Mendes2022-10-052-48/+73
| | | | | | | | | | | | | | | | | | - have consistent error return types - store the zone redundancy in a Lww - print the error and message in the CLI (TODO: for the server Api, should msg be returned in the body response?)
| * | Merge remote-tracking branch 'origin/main' into optimal-layoutMendes2022-10-046-209/+375
| |\ \
| * | | deleted zone_redundancy from System structMendes2022-10-041-2/+0
| | | |
| * | | 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>
* | | | Refactor health check and add ability to return it in jsonAlex Auvolat2022-12-053-1/+156
| | | |
* | | | Tentative fix for issue #414try-fix-414Alex Auvolat2022-11-211-3/+5
| |_|/ |/| |
* | | Change reqwest rustls featuresAlex Auvolat2022-10-181-1/+1
| | |
* | | Fix issue with 'http(s)://' prefixconsul-tlsAlex Auvolat2022-10-181-3/+3
| | |
* | | move things aroundAlex Auvolat2022-10-181-9/+8
| | |
* | | Load TLS certificates only onceAlex Auvolat2022-10-182-132/+133
| | |
* | | Add TLS support for Consul discovery + refactoringAlex Auvolat2022-10-185-103/+119
| | |
* | | definitively expunge openssl from dependencies everywhereAlex Auvolat2022-10-141-4/+3
| |/ |/|
* | Fix instant substractions that might have panickedfix-timeAlex Auvolat2022-09-291-1/+3
| |
* | Ability to have custom timeouts in request strategy (not used)configurable-timeoutsAlex Auvolat2022-09-201-9/+21
| |
* | RPC performance changesAlex Auvolat2022-09-194-52/+42
| | | | | | | | | | | | - 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-namesAlex Auvolat2022-09-142-17/+58
| |
* | Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8Alex Auvolat2022-09-131-5/+25
| |
* | Remove/change println! in server code (fix #358)Alex Auvolat2022-09-131-1/+1
| |