aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add basic k2v_client integration testsAlex Auvolat2023-05-225-0/+79
|
* Port k2v-client to aws-sigv4 since rusoto_signature is deprecatedAlex Auvolat2023-05-194-148/+190
|
* add tracing to k2v-clientAlex Auvolat2023-05-182-2/+13
|
* k2v signature verification: double urlencoding (see comment in source code)Alex Auvolat2023-05-182-2/+39
|
* fix clippy lint in format-table crateformat_table-v0.1.1split-format-tableAlex Auvolat2023-05-172-2/+2
|
* Split format_table into separate crate and reduce k2v-client dependenciesformat_table-v0.1.0Alex Auvolat2023-05-1711-9/+50
|
* cargo fmtk2v-client-fixesAlex Auvolat2023-05-162-4/+8
|
* k2v-client 0.0.2Alex Auvolat2023-05-161-1/+1
|
* k2v-cli: fix sort_key being partition_key and specify which keyAlex Auvolat2023-05-161-3/+3
|
* fix base64 usesAlex Auvolat2023-05-163-9/+13
|
* Merge pull request 'cargo: tokio-1.28 and hyper-0.14.26 update' (#569) from ↵Alex2023-05-112-2/+2
|\ | | | | | | | | | | jpds/garage:tokio-1.28 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/569
| * block/Cargo.toml: Bump tokio-util to 0.7.Jonathan Davies2023-05-091-1/+1
| |
| * k2v-client/Cargo.toml: Make tokio dep match other packages.Jonathan Davies2023-05-091-1/+1
| |
* | *: apply clippy recommendations.Jonathan Davies2023-05-0913-39/+28
|/
* Merge pull request 'move git-version dependency to main crate to reduce ↵Alex2023-05-094-9/+11
|\ | | | | | | | | | | rebuilds' (#568) from move-git-version into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/568
| * move git-version dependency to main crate to reduce rebuildsAlex Auvolat2023-05-094-9/+11
| |
* | Merge pull request 'block/manager.rs: Prioritize raw blocks when no ↵Alex2023-05-091-5/+25
|\ \ | |/ |/| | | | | | | compression configured' (#566) from jpds/garage:skip-compressed-blocks-scrub-no-compression into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/566
| * block/manager.rs: In is_block_compressed - check which compression_levelJonathan Davies2023-05-091-5/+25
| | | | | | | | | | is configured on a node and check for raw block first if compression is disabled (to help reduce syscalls during a scrub).
* | Merge pull request 'Really allow to disable `sled` feature' (#563) from ↵Alex2023-05-099-32/+32
|\ \ | | | | | | | | | | | | | | | jirutka/garage:workspace-deps into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/563
| * | Declare garage crates using workspace.dependenciesJakub Jirutka2023-05-099-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | This will allow to really disable "sled" feature without declaring `default-features = false` in every Cargo.toml where garage_db and garage_model is used. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
* | | Merge pull request 'Fix undefined macro warn! on 32-bit' (#562) from ↵Alex2023-05-091-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | jirutka/garage:fix-undefined-warn into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/562
| * | Fix undefined macro warn! on 32-bitJakub Jirutka2023-05-071-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Compiling garage_db v0.8.2 (garage-0.8.2/src/db) error: cannot find macro `warn` in this scope --> src/db/lmdb_adapter.rs:352:2 | 352 | warn!("LMDB is not recommended on 32-bit systems, database size will be limited"); | ^^^^ | = help: consider importing this macro: tracing::warn = note: `warn` is in scope, but it is an attribute: `#[warn]` error: could not compile `garage_db` due to previous error
* / Remove unnecessary/unused "timeago" featuresJakub Jirutka2023-05-071-1/+1
|/ | | | To decrease dependency bloat and binary size.
* Merge pull request 'api/Cargo.toml: Bumped quick-xml to version 0.26.' ↵Alex2023-04-241-1/+1
|\ | | | | | | | | | | (#552) from jpds/garage:quick-xml-0.26 into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/552
| * api/Cargo.toml: Bumped quick-xml to version 0.26.Jonathan Davies2023-04-231-1/+1
| |
* | block/repair.rs: Added log entries for scrub start/finish.Jonathan Davies2023-04-231-2/+12
|/
* obsolete clippy lintsv0.8.2prepare-v082Alex Auvolat2023-03-132-2/+0
|
* Prepare for v0.8.2Alex Auvolat2023-03-1311-41/+42
|
* Merge pull request 'Increase Garage tests robustness' (#526) from ↵Alex2023-03-138-63/+58
|\ | | | | | | | | | | | | | | tests/increase-robustness into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/526 Reviewed-by: Alex <alex@adnab.me> Reviewed-by: trinity-1686a <trinity.pointard@gmail.com>
| * use one key per context to isolate teststests/increase-robustnessQuentin Dufour2023-03-138-58/+40
| |
| * do not assume Garage boots in 2sec during testsQuentin Dufour2023-03-131-6/+19
| |
* | Merge branch 'main' into rustversion-labelAlex Auvolat2023-03-133-16/+50
|\|
| * Merge branch 'main' into pnet_datalink-0.33.0teutat3s2023-03-137-31/+174
| |\
| | * block/manager.rs: Set defaults for scrub_persister.Jonathan Davies2023-03-091-0/+1
| | |
| | * block/repair.rs: Added a timestamp argument toJonathan Davies2023-03-091-5/+5
| | | | | | | | | | | | randomize_next_scrub_run_time().
| | * block/repair.rs: Added migration for ScrubWorkerPersisted's time_next_run_scrub.Jonathan Davies2023-03-091-10/+44
| | | | | | | | | | | | Fixes: #520.
| * | Bump pnet_datalink 0.28 -> 0.33teutat3s2023-02-281-2/+1
| | | | | | | | | | | | | | | | | | | | | Motivation: building garage on illumos is only possible since pnet_datalink version 0.30 Changelog: https://github.com/libpnet/libpnet/compare/v0.28.0...v0.33.0
* | | admin/cluster.rs: Added rust_version.Jonathan Davies2023-03-101-0/+2
| | |
* | | garage/admin.rs: Display Rust version in stats output.Jonathan Davies2023-03-101-1/+2
| | |
* | | rpc/system_metrics.rs: Added rustversion label to garage_build_info metric.Jonathan Davies2023-03-104-4/+19
| |/ |/|
* | Merge pull request 'block/repair.rs: Added a random element of 10 days to ↵Alex2023-03-062-11/+40
|\ \ | | | | | | | | | | | | | | | SCRUB_INTERVAL' (#516) from jpds/garage:scrub-randomize-window into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/516
| * | block/manager.rs: Display scrub-next-run.Jonathan Davies2023-03-061-0/+3
| | |
| * | block/repair.rs: Added function and time_next_run_scrub with a random element ofJonathan Davies2023-03-061-11/+37
| | | | | | | | | | | | 10 days to SCRUB_INTERVAL to help balance scrub load across cluster.
* | | Merge pull request 'web_server.rs: Log X-Forwarded-For IP' (#504) from ↵Alex2023-03-064-10/+82
|\ \ \ | |/ / |/| | | | | | | | | | | jpds/garage:web_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/504
| * | web/web_server.rs: Handle X-Forwarded-For here too.Jonathan Davies2023-03-061-1/+14
| | |
| * | api/generic_server.rs: Use new handle_forwarded_for_headers() function.Jonathan Davies2023-03-061-9/+4
| | |
| * | util/forwarded_headers.rs: Generalized handle_forwarded_for_headers()Jonathan Davies2023-03-032-0/+64
| |/ | | | | | | here.
* / Clearer error message when LMDB has oom error (fix #517)Alex Auvolat2023-03-061-3/+10
|/
* Merge pull request 'generic_server.rs: Added support for logging ↵Alex2023-02-061-1/+20
|\ | | | | | | | | | | X-Forwarded-For header.' (#500) from jpds/garage:generic_server-log-x-forwarded-for into main Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/500
| * generic_server.rs: Added support for logging X-Forwarded-For header.Jonathan Davies2023-02-041-1/+20
| | | | | | | | Fixes: #460