Alex Auvolat
80e2326998
fixes for pr 499
2023-02-06 12:23:55 +01:00
Alex Auvolat
656b8d42de
secrets can be passed directly in config, as file, or as env
2023-02-03 15:27:39 +01:00
Jonathan Davies
20c1cdf662
Cargo.toml: Loosen tracing dependency to just 0.1.
2023-01-26 11:13:11 +00:00
Jonathan Davies
f952e37ba7
{model,util}/Cargo.toml: Updated blake2 from 0.9 to 0.10.
2023-01-26 11:13:11 +00:00
Jonathan Davies
fbafa76284
{db,util}/Cargo.toml: Updated mktemp from 0.4 to 0.5.
2023-01-26 11:13:11 +00:00
Jonathan Davies
d3b2a68988
{garage,util}/Cargo.toml: Updated toml from 0.5 to 0.6.
2023-01-26 11:13:11 +00:00
Jonathan Davies
b4a1a6a32f
util/time.rs: Updated deprecated associated function to timestamp_opt().
2023-01-26 11:13:11 +00:00
Felix Scheinost
d6ea0cbefa
Add tests for rpc_secret_file
2023-01-07 14:19:36 +01:00
Felix Scheinost
7b62fe3f0b
Error on both rpc_secret
and rpc_secret_file
2023-01-07 13:49:03 +01:00
Felix Scheinost
f2106c2733
Implement rpc_secret_file
2023-01-04 18:35:10 +01:00
Alex Auvolat
29dbcb8278
bg var operation on all nodes at once
2023-01-04 13:25:57 +01:00
Alex Auvolat
f3f27293df
Uniform framework for bg variable management
2023-01-04 13:07:13 +01:00
Alex Auvolat
13c5549886
Remove token_bucket.rs
2023-01-04 11:47:56 +01:00
Alex Auvolat
1d5bdc17a4
use impossible enum type
2023-01-03 16:04:06 +01:00
Alex Auvolat
c106304b9c
more idiomatic and shorter
2023-01-03 16:00:19 +01:00
Alex Auvolat
33f25d26c7
fix doc and add tests for migrate.rs
2023-01-03 15:53:13 +01:00
Alex Auvolat
a54b67740d
move debug_serialize to garage_util::encode
2023-01-03 15:29:29 +01:00
Alex Auvolat
8d5505514f
Make it explicit when using nonversioned encoding
2023-01-03 15:27:36 +01:00
Alex Auvolat
cdb2a591e9
Refactor how things are migrated
2023-01-03 14:44:47 +01:00
Alex Auvolat
939a6d67e8
Merge branch 'main' into internals-rework
2023-01-02 15:07:44 +01:00
Alex Auvolat
6775569525
Bump everything to v0.8.1
2023-01-02 14:15:33 +01:00
Alex Auvolat
510b620108
Get rid of background::spawn
2022-12-14 16:08:05 +01:00
Alex Auvolat
dfc131850a
Simplified and more aggressive worker exit logic
2022-12-14 15:25:29 +01:00
Alex Auvolat
d56c472712
Refactor background runner and get rid of job worker
2022-12-14 12:51:42 +01:00
Alex Auvolat
d6040e32a6
cli: prettier table in garage stats
2022-12-13 15:43:22 +01:00
Alex Auvolat
de9d6cddf7
Prettier worker list table; remove useless CLI log messages
2022-12-12 17:17:05 +01:00
Alex Auvolat
8bc5caf7aa
Fix issue with 'http(s)://' prefix
2022-10-18 21:17:11 +02:00
Alex Auvolat
002b9fc50c
Add TLS support for Consul discovery + refactoring
2022-10-18 18:38:20 +02:00
Alex Auvolat
ad917ffd3f
Fix instant substractions that might have panicked
2022-09-29 15:53:54 +02:00
Alex Auvolat
56592e1853
RPC performance changes
...
- configurable ping timeout
- single, much higher, configurable RPC timeout
- no more concurrency semaphore
2022-09-19 20:31:00 +02:00
Alex Auvolat
e46dc2a8ef
Allow for hostnames in bootstrap_peers and rpc_public_addr ( fix #353 )
2022-09-14 16:09:38 +02:00
Alex Auvolat
38be811b1c
Fix clippy lint that says we should implement Eq
2022-09-13 16:08:00 +02:00
Alex
11bdc971e2
Merge pull request 'use netapp streaming body' ( #343 ) from netapp-stream-body into main
...
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/343
2022-09-13 15:26:08 +02:00
Alex Auvolat
28a4af73ca
Use netapp 0.5 published from crates.io
2022-09-13 13:11:44 +02:00
Alex Auvolat
f91fab8582
Simplify+improve async hasher by using bounded channel
2022-09-12 16:23:43 +02:00
Alex Auvolat
7f54706b95
Merge branch 'lx-perf-improvements' into netapp-stream-body
2022-09-08 15:50:56 +02:00
Alex Auvolat
d9d199a6c9
Merge branch 'main' into lx-perf-improvements
2022-09-08 15:49:17 +02:00
Alex Auvolat
ceb1f0229a
Move version back into util
2022-09-07 18:36:46 +02:00
Alex Auvolat
8adc654713
Merge branch 'main' into improve-deps
2022-09-07 18:13:27 +02:00
Alex Auvolat
2559f63e9b
Make all HTTP services optionnal
2022-09-07 17:54:16 +02:00
Alex Auvolat
db61f41030
Move GIT_VERSION injection later in build chain to reduce build times
2022-09-07 11:59:56 +02:00
Alex Auvolat
6b958979bd
Merge branch 'lx-perf-improvements' into netapp-stream-body
2022-09-06 22:13:01 +02:00
Alex Auvolat
48ffaaadfc
Bump versions to 0.8.0 (compatibility is broken already)
2022-09-06 16:47:56 +02:00
Alex Auvolat
07e6bcde85
Merge branch 'main' into lx-perf-improvements
2022-09-05 12:40:17 +02:00
Alex Auvolat
943d76c583
Ability to dynamically set resync tranquility
2022-09-02 15:34:21 +02:00
Alex Auvolat
1921f4f7e6
Merge branch 'lx-perf-improvements' into netapp-stream-body
2022-08-29 16:45:05 +02:00
Alex Auvolat
ebc20a8798
Merge branch 'main' into lx-perf-improvements
2022-08-29 16:44:13 +02:00
Quentin Dufour
2c7bae935a
Configure structopt to report the right version
...
By default, structopt reports the value provided by
the env var CARGO_PKG_VERSION, feeded by Cargo when reading
Cargo.toml. However for Garage we use a versioning based on git,
so we often report a version that is behind the real version.
In this commit, we create garage_util::version::garage() that
reports the right version and configure all structopt subcommands
to call this function instead of using the env var.
2022-08-11 10:21:45 +02:00
Alex Auvolat
a35d4da721
update netapp to 0.5
2022-07-29 12:25:02 +02:00
Alex Auvolat
8e7e680afe
First adaptation to WIP netapp with streaming body
2022-07-29 12:25:02 +02:00