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 | 13 | -470/+1437 |
|\| | |||||
| * | 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 | 1 | -1/+1 |
| | | |||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 6 | -45/+75 |
| | | |||||
| * | Use bytes as capacity units | Alex Auvolat | 2022-11-07 | 5 | -53/+66 |
| | | |||||
| * | 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 | 25 | -272/+468 |
| |\ | |||||
| * | | 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 | 161 | -4068/+16081 |
| |\ \ | |||||
| * | | | 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 | 7 | -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 issue | Alex Auvolat | 2022-05-05 | 1 | -3/+1 |
| | | | | |||||
| * | | | Corrected the warnings and errors issued by cargo clippy | Mendes | 2022-05-01 | 2 | -80/+63 |
| | | | | |||||
| * | | | 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> | ||||
* | | | | 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 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | 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 |
| | | | | |||||
* | | | | Fix logs appearing twicefix-logs | Alex Auvolat | 2022-11-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Tentative fix for issue #414try-fix-414 | Alex Auvolat | 2022-11-21 | 1 | -3/+5 |
| | | | | |||||
* | | | | Add sled default in garage_model also | Alex Auvolat | 2022-11-21 | 1 | -1/+2 |
| | | | | |||||
* | | | | put sled as default feature in garage_db | Alex Auvolat | 2022-11-21 | 1 | -0/+1 |
| | | | | |||||
* | | | | Fix typo in admin API on BucketInfo | Quentin Dufour | 2022-11-11 | 1 | -2/+2 |
| |_|/ |/| | | |||||
* | | | Show a nice message and a backtrace when Garage panics | Alex Auvolat | 2022-11-04 | 2 | -16/+41 |
| | | | |||||
* | | | Clearer error messsages | Alex Auvolat | 2022-11-04 | 1 | -2/+2 |
| | | | |||||
* | | | Add garage bucket cleanup-incomplete-uploads commandcleanup-uploads-command | Alex Auvolat | 2022-11-04 | 4 | -1/+123 |
| | | | |||||
* | | | Change reqwest rustls features | Alex Auvolat | 2022-10-18 | 1 | -1/+1 |
| | | | |||||
* | | | Fix issue with 'http(s)://' prefixconsul-tls | Alex Auvolat | 2022-10-18 | 2 | -5/+5 |
| | | | |||||
* | | | 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 | 8 | -113/+158 |
| | | | |||||
* | | | Merge pull request 'Use status code 204 No Content for empty responses' ↵ | Alex | 2022-10-18 | 10 | -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 responses | Tobias Krischer | 2022-10-17 | 10 | -76/+76 |
| | |/ | |/| | |||||
* | | | Fix conditional testing in garage_db | Alex Auvolat | 2022-10-14 | 1 | -4/+9 |
| | | | |||||
* | | | definitively expunge openssl from dependencies everywhere | Alex Auvolat | 2022-10-14 | 3 | -6/+5 |
| | | | |||||
* | | | cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are ↵ | Alex Auvolat | 2022-10-14 | 2 | -2/+2 |
|/ / | | | | | | | broken) |