Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Refactor background runner and get rid of job worker | Alex Auvolat | 2022-12-14 | 2 | -28/+14 | |
| |/ | ||||||
* | | 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 | 6 | -414/+1278 | |
|\| | | |/ |/| | ||||||
| * | Slightly simplify code at places | Alex Auvolat | 2022-11-08 | 1 | -43/+18 | |
| | | ||||||
| * | Return more info when layout's .check() fails, fix compilation, fix test | Alex Auvolat | 2022-11-08 | 2 | -27/+49 | |
| | | ||||||
| * | Use bytes as capacity units | Alex Auvolat | 2022-11-07 | 3 | -47/+50 | |
| | | ||||||
| * | Ensure .sort() is called before counting unique items | Alex Auvolat | 2022-11-07 | 1 | -16/+14 | |
| | | ||||||
| * | Style improvements | Alex Auvolat | 2022-11-07 | 2 | -263/+257 | |
| | | ||||||
| * | Merge branch 'main' into optimal-layout | Alex Auvolat | 2022-11-07 | 5 | -161/+176 | |
| |\ | ||||||
| * | | Added some comment | Mendes | 2022-10-11 | 2 | -109/+132 | |
| | | | ||||||
| * | | Improved the statistics displayed in layout show | Mendes | 2022-10-11 | 1 | -39/+66 | |
| | | | | | | | | | | | | corrected a few bugs | |||||
| * | | cargo fmt | Mendes | 2022-10-10 | 4 | -987/+1103 | |
| | | | ||||||
| * | | Tests written in layout.rs | Mendes | 2022-10-10 | 2 | -142/+104 | |
| | | | | | | | | | | | | | | | 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 | 2 | -21/+36 | |
| | | | | | | | | | | | | | | | - self.node_id_vec was not properly updated when the previous ring was empty - ClusterLayout::merge was not considering changes in the layout parameters | |||||
| * | | modifications in several files to : | Mendes | 2022-10-05 | 2 | -48/+73 | |
| | | | | | | | | | | | | | | | | | | - 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 | 6 | -209/+375 | |
| |\ \ | ||||||
| * | | | 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 | 5 | -325/+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 | 1 | -15/+11 | |
| | | | | ||||||
| * | | | Apply cargo fmt | Alex Auvolat | 2022-05-01 | 1 | -444/+496 | |
| | | | | ||||||
| * | | | Change the way new layout assignations are computed. | Alex Auvolat | 2022-05-01 | 2 | -434/+448 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | |||||
* | | | | Refactor health check and add ability to return it in json | Alex Auvolat | 2022-12-05 | 3 | -1/+156 | |
| | | | | ||||||
* | | | | Tentative fix for issue #414try-fix-414 | Alex Auvolat | 2022-11-21 | 1 | -3/+5 | |
| |_|/ |/| | | ||||||
* | | | Change reqwest rustls features | Alex Auvolat | 2022-10-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix issue with 'http(s)://' prefixconsul-tls | Alex Auvolat | 2022-10-18 | 1 | -3/+3 | |
| | | | ||||||
* | | | 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 | 5 | -103/+119 | |
| | | | ||||||
* | | | definitively expunge openssl from dependencies everywhere | Alex Auvolat | 2022-10-14 | 1 | -4/+3 | |
| |/ |/| | ||||||
* | | Fix instant substractions that might have panickedfix-time | Alex Auvolat | 2022-09-29 | 1 | -1/+3 | |
| | | ||||||
* | | Ability to have custom timeouts in request strategy (not used)configurable-timeouts | Alex Auvolat | 2022-09-20 | 1 | -9/+21 | |
| | | ||||||
* | | RPC performance changes | Alex Auvolat | 2022-09-19 | 4 | -52/+42 | |
| | | | | | | | | | | | | - configurable ping timeout - single, much higher, configurable RPC timeout - no more concurrency semaphore | |||||
* | | Allow for hostnames in bootstrap_peers and rpc_public_addr (fix #353)resolve-peer-names | Alex Auvolat | 2022-09-14 | 2 | -17/+58 | |
| | | ||||||
* | | Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8 | Alex Auvolat | 2022-09-13 | 1 | -5/+25 | |
| | | ||||||
* | | Remove/change println! in server code (fix #358) | Alex Auvolat | 2022-09-13 | 1 | -1/+1 | |
| | | ||||||
* | | Use netapp 0.5 published from crates.io | Alex Auvolat | 2022-09-13 | 1 | -2/+1 | |
| | | ||||||
* | | Merge branch 'lx-perf-improvements' into netapp-stream-body | Alex Auvolat | 2022-09-08 | 2 | -9/+7 | |
|\ \ | ||||||
| * \ | Merge branch 'main' into lx-perf-improvements | Alex Auvolat | 2022-09-08 | 2 | -9/+7 | |
| |\ \ | ||||||
| | * | | Move GIT_VERSION injection later in build chain to reduce build times | Alex Auvolat | 2022-09-07 | 1 | -7/+4 | |
| | | | | ||||||
| | * | | Bump versions to 0.8.0 (compatibility is broken already) | Alex Auvolat | 2022-09-06 | 1 | -2/+2 | |
| | | | | ||||||
| | * | | Add feature "system-libs" to enable linking against system libraries | Jakub Jirutka | 2022-09-03 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this feature is enabled, libsodium-sys and zstd-sys will link dynamically against system-provided libraries instead of building and linking statically the bundled (possibly outdated and vulnerable) copies of them. This feature is intended mainly for linux package maintainers. | |||||
* | | | | Merge branch 'lx-perf-improvements' into netapp-stream-body | Alex Auvolat | 2022-09-06 | 1 | -1/+1 | |
|\| | | | ||||||
| * | | | Update to netapp 0.4.5 - fixed ping | Alex Auvolat | 2022-09-02 | 1 | -1/+1 | |
| |/ / | ||||||
* | | | cargo fmt | Alex Auvolat | 2022-09-02 | 1 | -1/+2 | |
| | | | ||||||
* | | | Apply PRIO_SECONDARY to block data transfers | Alex Auvolat | 2022-09-01 | 1 | -1/+1 | |
| | | | ||||||
* | | | Less strict timeouts | Alex Auvolat | 2022-09-01 | 2 | -4/+4 | |
| | | |