aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-1129-477/+13802
|\
| * Slightly simplify code at placesAlex Auvolat2022-11-082-50/+22
| |
| * Fix HTTP return codeAlex Auvolat2022-11-081-1/+1
| |
| * Fix integration testAlex Auvolat2022-11-083-3/+4
| |
| * Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-087-46/+77
| |
| * Use bytes as capacity unitsAlex Auvolat2022-11-076-53/+67
| |
| * Ensure .sort() is called before counting unique itemsAlex Auvolat2022-11-071-16/+14
| |
| * Style improvementsAlex Auvolat2022-11-075-277/+271
| |
| * Merge branch 'main' into optimal-layoutAlex Auvolat2022-11-0740-2632/+3625
| |\
| * | rm .gitattributesAlex Auvolat2022-10-131-1/+0
| | |
| * | Added some commentMendes2022-10-112-109/+132
| | |
| * | Improved the statistics displayed in layout showMendes2022-10-112-63/+111
| | | | | | | | | | | | corrected a few bugs
| * | cargo fmtMendes2022-10-108-1038/+1162
| | |
| * | Tests written in layout.rsMendes2022-10-104-145/+107
| | | | | | | | | | | | | | | 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-063-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 ↵Mendes2022-10-052-3/+46
| | | | | | | | | | | | now, only the zone redundancy)
| * | modifications in several files to :Mendes2022-10-054-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-layoutMendes2022-10-04260-5797/+30534
| |\ \
| * | | 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-219-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 ↵Mendes2022-09-104-12/+260
| | | | | | | | | | | | | | | | computation in the optimal layout report
| * | | ignore log files in commitMendes2022-09-085-333/+11
| | | |
| * | | Added a first draft version of the algorithm and analysis for the non-strict ↵Mendes2022-08-195-49/+120
| | | | | | | | | | | | | | | | mode.
| * | | Merge branch 'optimal-layout' of https://git.deuxfleurs.fr/Deuxfleurs/garage ↵Mendes2022-07-191-3/+1
| |\ \ \ | | | | | | | | | | | | | | | into optimal-layout
| | * | | Correct small formatting issueAlex Auvolat2022-05-051-3/+1
| | | | |
| * | | | Added the latex report on the optimal layout algorithmMendes2022-07-1813-0/+12357
| |/ / /
| * | | Corrected the warnings and errors issued by cargo clippyMendes2022-05-012-80/+63
| | | |
| * | | updated cargo.lockAlex Auvolat2022-05-011-0/+1
| | | |
| * | | Apply cargo fmtAlex Auvolat2022-05-012-792/+842
| | | |
| * | | Change the way new layout assignations are computed.Alex Auvolat2022-05-014-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 ↵Alex2022-12-119-10/+833
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | health' (#440) from admin-health-api into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/440
| * | | | simplifyadmin-health-apiAlex Auvolat2022-12-111-8/+1
| | | | |
| * | | | Always return 200 OK on /v0/health, reinstate admin api doc as draft and ↵Alex Auvolat2022-12-112-6/+687
| | | | | | | | | | | | | | | | | | | | complete it
| * | | | Separate /health (simple text answer) and /v0/health (full json answer, ↵Alex Auvolat2022-12-053-48/+33
| | | | | | | | | | | | | | | | | | | | authenticated)
| * | | | Refactor health check and add ability to return it in jsonAlex Auvolat2022-12-057-95/+156
| | | | |
| * | | | Implement /health admin API endpoint to check node healthAlex Auvolat2022-12-054-0/+103
| | | | |
* | | | | Merge pull request 'Fix typo in documentation' (#441) from ↵Alex2022-12-071-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | felix.scheinost/garage:documentation-typo into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/441
| * | | | Fix typo in documentationfelix.scheinost2022-12-071-1/+1
|/ / / /
* | | | Merge pull request 'Fix spelling mistake in docs' (#438) from ↵Alex2022-12-051-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | tompearson/garage:fix-typo into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/438
| * | | | Update 'doc/book/design/goals.md'tompearson2022-12-041-1/+1
|/ / / /
* | | | Merge pull request 'Fix logs appearing twice' (#435) from fix-logs into mainAlex2022-11-293-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/435
| * | | | Fix logs appearing twicefix-logsAlex Auvolat2022-11-293-3/+1
| | | | |
* | | | | Merge pull request 'Make repository into a Nix flake' (#424) from ↵Alex2022-11-295-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-systemAlex Auvolat2022-11-162-2/+14
| | | | |
| * | | | Make repository into a Nix flakeAlex Auvolat2022-11-165-18/+161
| | | | |
* | | | | Merge pull request 'Add talk to the Capitole du Libre 2022' (#434) from ↵Alex2022-11-2723-0/+410
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CdL_talk into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/434
| * | | | | Add talk to the Capitole du Libre 2022CdL_talkvincent2022-11-2723-0/+410
|/ / / / /
* | | | | Merge pull request 'Fix #432: documentation issue' (#433) from fix-432 into mainAlex2022-11-241-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/433