aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-1113-470/+1437
|\
| * Slightly simplify code at placesAlex Auvolat2022-11-082-50/+22
| |
| * Fix HTTP return codeAlex Auvolat2022-11-081-1/+1
| |
| * Fix integration testAlex Auvolat2022-11-081-1/+1
| |
| * Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-086-45/+75
| |
| * Use bytes as capacity unitsAlex Auvolat2022-11-075-53/+66
| |
| * 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-0725-272/+468
| |\
| * | 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-04161-4068/+16081
| |\ \
| * | | 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-217-689/+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-012-80/+63
| | | |
| * | | 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>
* | | | 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-111-6/+1
| | | | | | | | | | | | | | | | 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
| | | |
* | | | Fix logs appearing twicefix-logsAlex Auvolat2022-11-291-1/+1
| | | |
* | | | Tentative fix for issue #414try-fix-414Alex Auvolat2022-11-211-3/+5
| | | |
* | | | Add sled default in garage_model alsoAlex Auvolat2022-11-211-1/+2
| | | |
* | | | put sled as default feature in garage_dbAlex Auvolat2022-11-211-0/+1
| | | |
* | | | Fix typo in admin API on BucketInfoQuentin Dufour2022-11-111-2/+2
| |_|/ |/| |
* | | Show a nice message and a backtrace when Garage panicsAlex Auvolat2022-11-042-16/+41
| | |
* | | Clearer error messsagesAlex Auvolat2022-11-041-2/+2
| | |
* | | Add garage bucket cleanup-incomplete-uploads commandcleanup-uploads-commandAlex Auvolat2022-11-044-1/+123
| | |
* | | Change reqwest rustls featuresAlex Auvolat2022-10-181-1/+1
| | |
* | | Fix issue with 'http(s)://' prefixconsul-tlsAlex Auvolat2022-10-182-5/+5
| | |
* | | 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-188-113/+158
| | |
* | | Merge pull request 'Use status code 204 No Content for empty responses' ↵Alex2022-10-1810-76/+76
|\ \ \ | | | | | | | | | | | | | | | | | | | | (#403) from tobikris/garage:http-no-content into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/403
| * | | Use status code 204 No Content for empty responsesTobias Krischer2022-10-1710-76/+76
| | |/ | |/|
* | | Fix conditional testing in garage_dbAlex Auvolat2022-10-141-4/+9
| | |
* | | definitively expunge openssl from dependencies everywhereAlex Auvolat2022-10-143-6/+5
| | |
* | | cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are ↵Alex Auvolat2022-10-142-2/+2
|/ / | | | | | | broken)
* | Fix instant substractions that might have panickedfix-timeAlex Auvolat2022-09-294-8/+16
| |
* | Shutdown properly on SIGTERM/SIGHUP and on Windows signalshandle-sigtermAlex Auvolat2022-09-281-1/+42
| |