Commit graph

1238 commits

Author SHA1 Message Date
Roberto Hidalgo
dbc05ab96f
allow additional ServiceMeta, docs 2023-09-29 21:11:06 +02:00
Roberto Hidalgo
7e78e6298f
cargo fmt 2023-09-29 21:11:06 +02:00
Roberto Hidalgo
1c80e43edb
register consul services against local agent instead of catalog api 2023-09-29 21:11:05 +02:00
8125d79456
bump k2v-client to v0.0.4 2023-09-29 21:11:05 +02:00
ccc2d0f375
Fix k2v_client with unicode in partition keys 2023-09-29 21:11:04 +02:00
de5f3e2aa8
Add basic k2v_client integration tests 2023-09-29 21:11:04 +02:00
d98428bcc6
Port k2v-client to aws-sigv4 since rusoto_signature is deprecated 2023-09-29 21:11:02 +02:00
5c084e8f9e
add tracing to k2v-client 2023-09-29 21:11:01 +02:00
d0d698d1fc
k2v signature verification: double urlencoding (see comment in source code) 2023-09-29 21:11:00 +02:00
60292efcbb
fix clippy lint in format-table crate 2023-09-29 21:11:00 +02:00
f2191fa171
Split format_table into separate crate and reduce k2v-client dependencies 2023-09-29 21:10:59 +02:00
562c821178
cargo fmt 2023-09-29 21:10:58 +02:00
ba0a12c1ee
k2v-client 0.0.2 2023-09-29 21:10:58 +02:00
1b6cf5f1fb
k2v-cli: fix sort_key being partition_key and specify which key 2023-09-29 21:10:57 +02:00
491e3c3a8c
fix base64 uses 2023-09-29 21:10:57 +02:00
2a26aba123
update Cargo.nix 2023-09-29 21:10:56 +02:00
Jonathan Davies
4c0648fdac
Cargo.lock: Updated for:
* tokio 1.28
 * hyper 0.14.26
2023-09-29 21:10:56 +02:00
Jonathan Davies
ca31a352fe
block/Cargo.toml: Bump tokio-util to 0.7. 2023-09-29 21:10:55 +02:00
Jonathan Davies
5ef407c70c
k2v-client/Cargo.toml: Make tokio dep match other packages. 2023-09-29 21:10:54 +02:00
Jonathan Davies
9357fab1d4
*: apply clippy recommendations. 2023-09-29 21:10:54 +02:00
c111796bfd
move git-version dependency to main crate to reduce rebuilds 2023-09-29 21:10:53 +02:00
Jonathan Davies
a0900a8943
block/manager.rs: In is_block_compressed - check which compression_level
is configured on a node and check for raw block first if compression is
disabled (to help reduce syscalls during a scrub).
2023-09-29 21:10:53 +02:00
ee165e56d2
Allow to really disable sled feature 2023-09-29 21:10:52 +02:00
00ab7a4d0d
Declare garage crates using workspace.dependencies
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
2023-09-29 21:10:51 +02:00
1a6d52e0fd
Fix undefined macro warn! on 32-bit
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
2023-09-29 21:10:51 +02:00
7ff6d25a66
Helm: Increment patch version 2023-09-29 21:10:50 +02:00
b76e830f68
Helm: Include newer config parameters as values
Add all missing parameters from the reference manual.
Primarily to enable the use of the new lmdb engine
2023-09-29 21:10:50 +02:00
0dffb4f8b9
Remove unnecessary/unused "timeago" features
To decrease dependency bloat and binary size.
2023-09-29 21:10:49 +02:00
9ee7e7b47d
Update rust toolchain to 1.68 and simplify Nix stuff 2023-09-29 21:10:49 +02:00
8e852eef44
update cargo.nix 2023-09-29 21:10:48 +02:00
Jonathan Davies
2e5822c73b
api/Cargo.toml: Bumped quick-xml to version 0.26. 2023-09-29 21:10:47 +02:00
Jonathan Davies
1b12e17a41
block/repair.rs: Added log entries for scrub start/finish. 2023-09-29 21:10:47 +02:00
2a58087847
cookbook/real-world: fix typo 2023-09-29 21:10:46 +02:00
dd23199ed4
docs(book/quickstart): adapt aws s3 commands to example
Signed-off-by: arthurlutz <arthurlutz@noreply.localhost>
2023-09-29 21:10:46 +02:00
922531c56f
Update Helm chart versions (app + chart)
* chart version: 0.4.0
* app version: v0.8.2
2023-09-29 21:10:45 +02:00
Jonathan Davies
946ad7a12f
cli.md: Pointed Cyberduck profile at upstream link. 2023-09-29 21:10:44 +02:00
000006d689 obsolete clippy lints 2023-03-13 18:50:07 +01:00
0a1ddcf630 Prepare for v0.8.2 2023-03-13 18:46:31 +01:00
d6ffa57f40 Merge pull request 'Increase Garage tests robustness' (#526) from tests/increase-robustness into main
Reviewed-on: Deuxfleurs/garage#526
Reviewed-by: Alex <alex@adnab.me>
Reviewed-by: trinity-1686a <trinity.pointard@gmail.com>
2023-03-13 17:26:21 +00:00
7fcc153e7c Merge pull request 'rpc/system_metrics.rs: Added rustversion label to garage_build_info metric.' (#524) from jpds/garage:rustversion-label into main
Reviewed-on: Deuxfleurs/garage#524
2023-03-13 15:46:48 +00:00
f37ec584b6 Merge branch 'main' into rustversion-label 2023-03-13 16:14:13 +01:00
Jonathan Davies
dc6be39833 doc: cli.md: Added s5cmd example. 2023-03-13 14:15:18 +00:00
70b5424b99
use one key per context to isolate tests 2023-03-13 15:06:05 +01:00
2687fb7fa8
do not assume Garage boots in 2sec during tests 2023-03-13 15:06:05 +01:00
24e43f1aa0 Merge pull request 'Bump pnet_datalink 0.28 -> 0.33' (#514) from teutat3s/garage:pnet_datalink-0.33.0 into main
Reviewed-on: Deuxfleurs/garage#514
2023-03-13 13:43:04 +00:00
teutat3s
8ad6efb338
Merge branch 'main' into pnet_datalink-0.33.0 2023-03-13 13:59:42 +01:00
3b498c7c47
update cargo.nix 2023-03-13 13:59:02 +01:00
40fa1242f0 update cargo.nix 2023-03-10 18:15:06 +01:00
Jonathan Davies
9ea154ae9c admin/cluster.rs: Added rust_version. 2023-03-10 14:46:54 +00:00
Jonathan Davies
4421378023 garage/admin.rs: Display Rust version in stats output. 2023-03-10 14:46:54 +00:00