aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Add block.rc_size, table.size and table.merkle_tree_size metricsAlex Auvolat2022-12-134-4/+57
| | | |
| * | | cli: more info displayed on error in garage statsAlex Auvolat2022-12-131-4/+5
| | | |
| * | | cli: prettier table in garage statsAlex Auvolat2022-12-137-39/+93
| | | |
| * | | Implement `block retry-now` and `block purge`Alex Auvolat2022-12-134-5/+124
| | | |
| * | | Implement `block list-errors` and `block info`Alex Auvolat2022-12-138-28/+240
| | | |
| * | | cli: new worker info commandAlex Auvolat2022-12-136-11/+86
| | | |
| * | | cli: rename resync-n-workers into resync-worker-countAlex Auvolat2022-12-132-4/+4
| | | |
| * | | Prettier worker list table; remove useless CLI log messagesAlex Auvolat2022-12-1211-115/+138
| |/ /
| * | Fix bucket creation tests to take permissions into accountAlex Auvolat2022-12-122-0/+30
| | |
| * | Properly enforce allow_create_bucketfix-allow-create-bucketAlex Auvolat2022-12-121-0/+9
| |/
* | Merge pull request 'Optimal layout assignation algorithm' (#296) from ↵Alex2022-12-111-4/+2
|\ \ | | | | | | | | | | | | | | | optimal-layout into next Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/296
| * | itertools .unique() doesn't require sorted itemsAlex Auvolat2022-12-111-4/+2
| | |
* | | 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
| | |