Commit graph

805 commits

Author SHA1 Message Date
2a2eba84d8
everywhere: support unix sockets when binding in various places
this patch implements binding to paths as a unix socket for generic
server and web server.
2023-09-29 21:11:54 +02:00
b3dcbec680
config: allow using paths for unix domain sockets in various places
this patch updates the config format to also allow paths in bind
addresses for unix domain sockets.

this has been added to all apis except rpc.
2023-09-29 21:11:53 +02:00
9e54c87d96
util: add helper sum type for unix and tcp socket addresses
this patch introduces a new sum type that can represent either a
tcp socket address or a unix domain socket path.
2023-09-29 21:11:53 +02:00
e356413a45
cargo: add hyperlocal as a dependency 2023-09-29 21:11:52 +02:00
70c01b7bc3
fix hang on shutdown 2023-09-29 21:11:50 +02:00
157ba58f92
Fix error when none of S3/K2V/WEB/ADMIN server is started (fix #613) 2023-09-29 21:11:50 +02:00
781f3ea740
fix 32-bit build 2023-09-29 21:11:49 +02:00
d662930669
use statvfs instead of mount list to determine free data/meta space (fix #611) 2023-09-29 21:11:49 +02:00
6fb98b9def
config: make block_size and sled_cache_capacity expressable as strings 2023-09-29 21:11:48 +02:00
530cc151d8
make lmdb's map_size configurable (fix #628) 2023-09-29 21:11:48 +02:00
92dbf9dc18
update version to 0.8.4 2023-09-29 21:11:47 +02:00
b622613b91
Revert netapp update, hold to version 0.5.2 that uses rmp-serde 0.15 2023-09-29 21:11:46 +02:00
9441e953e6
add garage_db dependency in garage_rpc 2023-09-29 21:11:46 +02:00
db8cfa7488
bump version to 0.8.3 2023-09-29 21:11:45 +02:00
b3e4614a96
fix test_website_check_domain 2023-09-29 21:11:45 +02:00
8ba37a122b
integration test: move json_body to root of crate 2023-09-29 21:11:44 +02:00
d106d503b8
admin api: refactor caddy check api code 2023-09-29 21:11:42 +02:00
81c6438f96
web_server.rs: handle error properly and refactor 2023-09-29 21:11:42 +02:00
ead4cdd49a
support index on path missing a trailing slash 2023-09-29 21:11:41 +02:00
Jonathan Davies
82a3ce6d5f
cargo: Updated gethostname v0.2.3 -> v0.4.3. 2023-09-29 21:11:39 +02:00
Jonathan Davies
1eea4a84f2
cargo: Updated pretty_env_logger v0.4.0 -> v0.5.0. 2023-09-29 21:11:39 +02:00
Jonathan Davies
154d67f2a7
garage/api: cargo: Updated idna dependency to 0.4. 2023-09-29 21:11:38 +02:00
Jonathan Davies
fe1045ac93
garage/db: cargo: Updated rusqlite to 0.29. 2023-09-29 21:11:38 +02:00
Jonathan Davies
6a7c66ae5c
cargo: Updated:
* addr2line v0.19.0 -> v0.20.0
 * async-compression v0.4.0 -> v0.4.1
 * clap v4.3.8 -> v4.3.19
 * hyper v0.14.26 -> v0.14.27
 * ipnet v2.7.2 -> v2.8.0
 * rmp v0.8.11 -> v0.8.12
 * serde v1.0.164 -> v1.0.188
 * tokio v1.29.0 -> v1.31.0
 * zstd v0.12.3+zstd.1.5.2 -> v0.12.4
 * Others in `cargo update`
2023-09-29 21:11:37 +02:00
71208fbacc
support {s3,web}.root_domains in /check endpoint 2023-09-29 21:11:36 +02:00
Jonathan Davies
c55c7477cb
post_object.rs: Fixed typos / grammar. 2023-09-29 21:11:34 +02:00
5a0bee62cf
src/util: fix typo 2023-09-29 21:11:32 +02:00
885b80c4f1
src/garage/cli: fix typo 2023-09-29 21:11:31 +02:00
Jonathan Davies
deb7160f32
cargo: Updated async-compression to 0.4. 2023-09-29 21:11:27 +02:00
Jonathan Davies
8fccc356cc
tests/bucket.rs: Adjusted as previously used function is now private. 2023-09-29 21:11:25 +02:00
Jonathan Davies
9a2e32c529
src/garage/tests: Updated types for aws-sdk-s3 bump. 2023-09-29 21:11:24 +02:00
Jonathan Davies
df2ceee0ee
garage/Cargo.toml: Updated aws-sdk-s3 to 0.28, added aws-config. 2023-09-29 21:11:24 +02:00
Jonathan Davies
ed4acb195b
api/Cargo.toml: Updated roxmltree to 0.18. 2023-09-29 21:11:23 +02:00
2d11a4b982
introduce dedicated return type for PollRange 2023-09-29 21:11:22 +02:00
6a91ab8a40
don't build sqlite by default
`bundled-libs` is enabled by default, and causes sqlite to be built too,
even if the sqlite backend isn't enabled.
2023-09-29 21:11:22 +02:00
001d3b0a28
Split garage/admin.rs into smaller files 2023-09-29 21:11:13 +02:00
65a4a8ce36
move admin.rs to admin/mod.rs, before splitting 2023-09-29 21:11:13 +02:00
429faccb0a
fix timestamps wrapping around in garage block list-errors (fix #584) 2023-09-29 21:11:12 +02:00
Jonathan Davies
1a03427102
payload.rs: Surround / in inverted commas. 2023-09-29 21:11:12 +02:00
Jonathan Davies
8bbbd3d70c
payload.rs: Fixed typo in error message. 2023-09-29 21:11:11 +02:00
Roberto Hidalgo
eceea96e59
set default for [consul-services] api 2023-09-29 21:11:10 +02:00
Roberto Hidalgo
c1c75d1201
simplify code according to feedback 2023-09-29 21:11:09 +02:00
Roberto Hidalgo
b22c52effe
rename mode to consul_http_api 2023-09-29 21:11:08 +02:00
Roberto Hidalgo
95ff56f5e2
revert rpc/Cargo.toml 2023-09-29 21:11:08 +02:00
Roberto Hidalgo
db296c3a84
follow feedback, fold into existing feature 2023-09-29 21:11:07 +02:00
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