Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | system.rs: Integrated SystemMetrics into System implementation. | Jonathan Davies | 2023-01-10 | 1 | -0/+10 | |
| | | | ||||||
| | * | Added system_metrics.rs file. | Jonathan Davies | 2023-01-10 | 2 | -0/+35 | |
| | | | ||||||
| * | | PollRange: add extra RPC delay after quorum is achieved, | Alex Auvolat | 2023-01-11 | 1 | -3/+2 | |
| |/ | | | | | | | to give a chance to the 3rd node to respond | |||||
* | | Migration of cluster layout from v0.8 to v0.9 | Alex Auvolat | 2023-01-11 | 1 | -60/+178 | |
| | | ||||||
* | | Changed all instances of assignation to assignment. | Jonathan Davies | 2023-01-05 | 3 | -70/+70 | |
| | | ||||||
* | | Merge branch 'main' into next | Alex Auvolat | 2023-01-04 | 4 | -75/+75 | |
|\| | ||||||
| * | Fix Consul & Kubernetes discovery with new way of doing background thingsfix-background | Alex Auvolat | 2023-01-03 | 1 | -17/+22 | |
| | | ||||||
| * | Make it explicit when using nonversioned encoding | Alex Auvolat | 2023-01-03 | 2 | -6/+6 | |
| | | ||||||
| * | Refactor how things are migrated | Alex Auvolat | 2023-01-03 | 2 | -5/+15 | |
| | | ||||||
| * | Merge branch 'main' into internals-reworkinternals-rework | Alex Auvolat | 2023-01-02 | 1 | -2/+2 | |
| |\ | ||||||
| | * | Bump everything to v0.8.1 | Alex Auvolat | 2023-01-02 | 1 | -2/+2 | |
| | | | ||||||
| * | | better error message handling | Alex Auvolat | 2022-12-14 | 1 | -11/+12 | |
| | | | ||||||
| * | | Get rid of background::spawn | Alex Auvolat | 2022-12-14 | 1 | -16/+13 | |
| | | | ||||||
| * | | Improve error message on rpc connection failure | Alex Auvolat | 2022-12-14 | 1 | -7/+9 | |
| | | | ||||||
| * | | Refactor background runner and get rid of job worker | Alex Auvolat | 2022-12-14 | 2 | -28/+14 | |
| |/ | ||||||
* | | Merge pull request 'Optimal layout assignation algorithm' (#296) from ↵ | Alex | 2022-12-11 | 1 | -4/+2 | |
|\ \ | | | | | | | | | | | | | | | | optimal-layout into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296 | |||||
| * | | itertools .unique() doesn't require sorted items | Alex Auvolat | 2022-12-11 | 1 | -4/+2 | |
| | | | ||||||
* | | | Merge commit 'ec12d6c' into next | Alex Auvolat | 2022-12-11 | 6 | -414/+1278 | |
|\| | | |/ |/| | ||||||
| * | Slightly simplify code at places | Alex Auvolat | 2022-11-08 | 1 | -43/+18 | |
| | | ||||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 2 | -27/+49 | |
| | | ||||||
| * | Use bytes as capacity units | Alex Auvolat | 2022-11-07 | 3 | -47/+50 | |
| | | ||||||
| * | Ensure .sort() is called before counting unique items | Alex Auvolat | 2022-11-07 | 1 | -16/+14 | |
| | | ||||||
| * | Style improvements | Alex Auvolat | 2022-11-07 | 2 | -263/+257 | |
| | | ||||||
| * | Merge branch 'main' into optimal-layout | Alex Auvolat | 2022-11-07 | 5 | -161/+176 | |
| |\ | ||||||
| * | | Added some comment | Mendes | 2022-10-11 | 2 | -109/+132 | |
| | | | ||||||
| * | | Improved the statistics displayed in layout show | Mendes | 2022-10-11 | 1 | -39/+66 | |
| | | | | | | | | | | | | corrected a few bugs | |||||
| * | | cargo fmt | Mendes | 2022-10-10 | 4 | -987/+1103 | |
| | | | ||||||
| * | | Tests written in layout.rs | Mendes | 2022-10-10 | 2 | -142/+104 | |
| | | | | | | | | | | | | | | | added staged_parameters to ClusterLayout removed the serde(default) -> will need a migration function | |||||
| * | | corrected warnings of cargo clippy | Mendes | 2022-10-06 | 2 | -71/+66 | |
| | | | ||||||
| * | | Corrected two bugs: | Mendes | 2022-10-06 | 2 | -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 : | Mendes | 2022-10-05 | 2 | -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-layout | Mendes | 2022-10-04 | 6 | -209/+375 | |
| |\ \ | ||||||
| * | | | deleted zone_redundancy from System struct | Mendes | 2022-10-04 | 1 | -2/+0 | |
| | | | | ||||||
| * | | | Correction of a few bugs in the tests, modification of ClusterLayout::check | Mendes | 2022-09-22 | 2 | -77/+137 | |
| | | | | ||||||
| * | | | New version of the algorithm that calculate the layout. | Mendes | 2022-09-21 | 5 | -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 issue | Alex Auvolat | 2022-05-05 | 1 | -3/+1 | |
| | | | | ||||||
| * | | | Corrected the warnings and errors issued by cargo clippy | Mendes | 2022-05-01 | 1 | -15/+11 | |
| | | | | ||||||
| * | | | Apply cargo fmt | Alex Auvolat | 2022-05-01 | 1 | -444/+496 | |
| | | | | ||||||
| * | | | Change the way new layout assignations are computed. | Alex Auvolat | 2022-05-01 | 2 | -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 json | Alex Auvolat | 2022-12-05 | 3 | -1/+156 | |
| | | | | ||||||
* | | | | Tentative fix for issue #414try-fix-414 | Alex Auvolat | 2022-11-21 | 1 | -3/+5 | |
| |_|/ |/| | | ||||||
* | | | Change reqwest rustls features | Alex Auvolat | 2022-10-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix issue with 'http(s)://' prefixconsul-tls | Alex Auvolat | 2022-10-18 | 1 | -3/+3 | |
| | | | ||||||
* | | | move things around | Alex Auvolat | 2022-10-18 | 1 | -9/+8 | |
| | | | ||||||
* | | | Load TLS certificates only once | Alex Auvolat | 2022-10-18 | 2 | -132/+133 | |
| | | | ||||||
* | | | Add TLS support for Consul discovery + refactoring | Alex Auvolat | 2022-10-18 | 5 | -103/+119 | |
| | | | ||||||
* | | | definitively expunge openssl from dependencies everywhere | Alex Auvolat | 2022-10-14 | 1 | -4/+3 | |
| |/ |/| | ||||||
* | | Fix instant substractions that might have panickedfix-time | Alex Auvolat | 2022-09-29 | 1 | -1/+3 | |
| | | ||||||
* | | Ability to have custom timeouts in request strategy (not used)configurable-timeouts | Alex Auvolat | 2022-09-20 | 1 | -9/+21 | |
| | | ||||||
* | | RPC performance changes | Alex Auvolat | 2022-09-19 | 4 | -52/+42 | |
| | | | | | | | | | | | | - configurable ping timeout - single, much higher, configurable RPC timeout - no more concurrency semaphore |