aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
Commit message (Collapse)AuthorAgeFilesLines
...
| * | itertools .unique() doesn't require sorted itemsAlex Auvolat2022-12-111-4/+2
| | |
* | | Merge commit 'ec12d6c' into nextAlex Auvolat2022-12-116-414/+1278
|\| | | |/ |/|
| * Slightly simplify code at placesAlex Auvolat2022-11-081-43/+18
| |
| * Return more info when layout's .check() fails, fix compilation, fix testAlex Auvolat2022-11-082-27/+49
| |
| * Use bytes as capacity unitsAlex Auvolat2022-11-073-47/+50
| |
| * Ensure .sort() is called before counting unique itemsAlex Auvolat2022-11-071-16/+14
| |
| * Style improvementsAlex Auvolat2022-11-072-263/+257
| |
| * Merge branch 'main' into optimal-layoutAlex Auvolat2022-11-075-161/+176
| |\
| * | Added some commentMendes2022-10-112-109/+132
| | |
| * | Improved the statistics displayed in layout showMendes2022-10-111-39/+66
| | | | | | | | | | | | corrected a few bugs
| * | cargo fmtMendes2022-10-104-987/+1103
| | |
| * | Tests written in layout.rsMendes2022-10-102-142/+104
| | | | | | | | | | | | | | | 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-062-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 :Mendes2022-10-052-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-layoutMendes2022-10-046-209/+375
| |\ \
| * | | 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-215-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 issueAlex Auvolat2022-05-051-3/+1
| | | |
| * | | Corrected the warnings and errors issued by cargo clippyMendes2022-05-011-15/+11
| | | |
| * | | Apply cargo fmtAlex Auvolat2022-05-011-444/+496
| | | |
| * | | Change the way new layout assignations are computed.Alex Auvolat2022-05-012-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 jsonAlex Auvolat2022-12-053-1/+156
| | | |
* | | | Tentative fix for issue #414try-fix-414Alex Auvolat2022-11-211-3/+5
| |_|/ |/| |
* | | Change reqwest rustls featuresAlex Auvolat2022-10-181-1/+1
| | |
* | | Fix issue with 'http(s)://' prefixconsul-tlsAlex Auvolat2022-10-181-3/+3
| | |
* | | 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-185-103/+119
| | |
* | | definitively expunge openssl from dependencies everywhereAlex Auvolat2022-10-141-4/+3
| |/ |/|
* | Fix instant substractions that might have panickedfix-timeAlex Auvolat2022-09-291-1/+3
| |
* | Ability to have custom timeouts in request strategy (not used)configurable-timeoutsAlex Auvolat2022-09-201-9/+21
| |
* | RPC performance changesAlex Auvolat2022-09-194-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-namesAlex Auvolat2022-09-142-17/+58
| |
* | Add checks on replication_factor of layouts we use (fix #363, fix #364)various-fixes-for-0.8Alex Auvolat2022-09-131-5/+25
| |
* | Remove/change println! in server code (fix #358)Alex Auvolat2022-09-131-1/+1
| |
* | Use netapp 0.5 published from crates.ioAlex Auvolat2022-09-131-2/+1
| |
* | Merge branch 'lx-perf-improvements' into netapp-stream-bodyAlex Auvolat2022-09-082-9/+7
|\ \
| * \ Merge branch 'main' into lx-perf-improvementsAlex Auvolat2022-09-082-9/+7
| |\ \
| | * | Move GIT_VERSION injection later in build chain to reduce build timesAlex Auvolat2022-09-071-7/+4
| | | |
| | * | Bump versions to 0.8.0 (compatibility is broken already)Alex Auvolat2022-09-061-2/+2
| | | |
| | * | Add feature "system-libs" to enable linking against system librariesJakub Jirutka2022-09-031-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-bodyAlex Auvolat2022-09-061-1/+1
|\| | |
| * | | Update to netapp 0.4.5 - fixed pingAlex Auvolat2022-09-021-1/+1
| |/ /
* | | cargo fmtAlex Auvolat2022-09-021-1/+2
| | |
* | | Apply PRIO_SECONDARY to block data transfersAlex Auvolat2022-09-011-1/+1
| | |
* | | Less strict timeoutsAlex Auvolat2022-09-012-4/+4
| | |
* | | Update to Netapp with OrderTag support and exploit OrderTagsAlex Auvolat2022-09-011-1/+1
| | |
* | | Try to fix clippyAlex Auvolat2022-08-291-1/+1
| | |