Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 29 | -477/+13802 |
|\| | |||||
| * | Slightly simplify code at places | Alex Auvolat | 2022-11-08 | 2 | -50/+22 |
| | | |||||
| * | Fix HTTP return code | Alex Auvolat | 2022-11-08 | 1 | -1/+1 |
| | | |||||
| * | Fix integration test | Alex Auvolat | 2022-11-08 | 3 | -3/+4 |
| | | |||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 7 | -46/+77 |
| | | |||||
| * | Use bytes as capacity units | Alex Auvolat | 2022-11-07 | 6 | -53/+67 |
| | | |||||
| * | Ensure .sort() is called before counting unique items | Alex Auvolat | 2022-11-07 | 1 | -16/+14 |
| | | |||||
| * | Style improvements | Alex Auvolat | 2022-11-07 | 5 | -277/+271 |
| | | |||||
| * | Merge branch 'main' into optimal-layout | Alex Auvolat | 2022-11-07 | 40 | -2632/+3625 |
| |\ | |||||
| * | | rm .gitattributes | Alex Auvolat | 2022-10-13 | 1 | -1/+0 |
| | | | |||||
| * | | Added some comment | Mendes | 2022-10-11 | 2 | -109/+132 |
| | | | |||||
| * | | Improved the statistics displayed in layout show | Mendes | 2022-10-11 | 2 | -63/+111 |
| | | | | | | | | | | | | corrected a few bugs | ||||
| * | | cargo fmt | Mendes | 2022-10-10 | 8 | -1038/+1162 |
| | | | |||||
| * | | Tests written in layout.rs | Mendes | 2022-10-10 | 4 | -145/+107 |
| | | | | | | | | | | | | | | | 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 | 3 | -22/+41 |
| | | | | | | | | | | | | | | | - self.node_id_vec was not properly updated when the previous ring was empty - ClusterLayout::merge was not considering changes in the layout parameters | ||||
| * | | Added a CLI command to update the parameters for the layout computation (for ↵ | Mendes | 2022-10-05 | 2 | -3/+46 |
| | | | | | | | | | | | | now, only the zone redundancy) | ||||
| * | | modifications in several files to : | Mendes | 2022-10-05 | 4 | -63/+100 |
| | | | | | | | | | | | | | | | | | | - 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 | 260 | -5797/+30534 |
| |\ \ | |||||
| * | | | 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 | 9 | -698/+926 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | | Added the section with description proofs of the parametric assignment ↵ | Mendes | 2022-09-10 | 4 | -12/+260 |
| | | | | | | | | | | | | | | | | computation in the optimal layout report | ||||
| * | | | ignore log files in commit | Mendes | 2022-09-08 | 5 | -333/+11 |
| | | | | |||||
| * | | | Added a first draft version of the algorithm and analysis for the non-strict ↵ | Mendes | 2022-08-19 | 5 | -49/+120 |
| | | | | | | | | | | | | | | | | mode. | ||||
| * | | | Merge branch 'optimal-layout' of https://git.deuxfleurs.fr/Deuxfleurs/garage ↵ | Mendes | 2022-07-19 | 1 | -3/+1 |
| |\ \ \ | | | | | | | | | | | | | | | | into optimal-layout | ||||
| | * | | | Correct small formatting issue | Alex Auvolat | 2022-05-05 | 1 | -3/+1 |
| | | | | | |||||
| * | | | | Added the latex report on the optimal layout algorithm | Mendes | 2022-07-18 | 13 | -0/+12357 |
| |/ / / | |||||
| * | | | Corrected the warnings and errors issued by cargo clippy | Mendes | 2022-05-01 | 2 | -80/+63 |
| | | | | |||||
| * | | | updated cargo.lock | Alex Auvolat | 2022-05-01 | 1 | -0/+1 |
| | | | | |||||
| * | | | Apply cargo fmt | Alex Auvolat | 2022-05-01 | 2 | -792/+842 |
| | | | | |||||
| * | | | Change the way new layout assignations are computed. | Alex Auvolat | 2022-05-01 | 4 | -434/+827 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | | | | Merge pull request 'Implement /health admin API endpoint to check node ↵ | Alex | 2022-12-11 | 9 | -10/+833 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | health' (#440) from admin-health-api into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/440 | ||||
| * | | | | simplifyadmin-health-api | Alex Auvolat | 2022-12-11 | 1 | -8/+1 |
| | | | | | |||||
| * | | | | Always return 200 OK on /v0/health, reinstate admin api doc as draft and ↵ | Alex Auvolat | 2022-12-11 | 2 | -6/+687 |
| | | | | | | | | | | | | | | | | | | | | complete it | ||||
| * | | | | Separate /health (simple text answer) and /v0/health (full json answer, ↵ | Alex Auvolat | 2022-12-05 | 3 | -48/+33 |
| | | | | | | | | | | | | | | | | | | | | authenticated) | ||||
| * | | | | Refactor health check and add ability to return it in json | Alex Auvolat | 2022-12-05 | 7 | -95/+156 |
| | | | | | |||||
| * | | | | Implement /health admin API endpoint to check node health | Alex Auvolat | 2022-12-05 | 4 | -0/+103 |
| | | | | | |||||
* | | | | | Merge pull request 'Fix typo in documentation' (#441) from ↵ | Alex | 2022-12-07 | 1 | -1/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | felix.scheinost/garage:documentation-typo into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/441 | ||||
| * | | | | Fix typo in documentation | felix.scheinost | 2022-12-07 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request 'Fix spelling mistake in docs' (#438) from ↵ | Alex | 2022-12-05 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | tompearson/garage:fix-typo into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/438 | ||||
| * | | | | Update 'doc/book/design/goals.md' | tompearson | 2022-12-04 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request 'Fix logs appearing twice' (#435) from fix-logs into main | Alex | 2022-11-29 | 3 | -3/+1 |
|\ \ \ \ | | | | | | | | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/435 | ||||
| * | | | | Fix logs appearing twicefix-logs | Alex Auvolat | 2022-11-29 | 3 | -3/+1 |
| | | | | | |||||
* | | | | | Merge pull request 'Make repository into a Nix flake' (#424) from ↵ | Alex | 2022-11-29 | 5 | -19/+174 |
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | nix-remove-system into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/424 | ||||
| * | | | | Inject last modified date as git_version; flake cache uploadingnix-remove-system | Alex Auvolat | 2022-11-16 | 2 | -2/+14 |
| | | | | | |||||
| * | | | | Make repository into a Nix flake | Alex Auvolat | 2022-11-16 | 5 | -18/+161 |
| | | | | | |||||
* | | | | | Merge pull request 'Add talk to the Capitole du Libre 2022' (#434) from ↵ | Alex | 2022-11-27 | 23 | -0/+410 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CdL_talk into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/434 |