a951b6c452
Added a CLI command to update the parameters for the layout computation (for now, only the zone redundancy)
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-10-05 16:04:19 +02:00
ceac3713d6
modifications in several files to :
...
- 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?)
2022-10-05 15:29:48 +02:00
829f815a89
Merge remote-tracking branch 'origin/main' into optimal-layout
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-10-04 18:14:49 +02:00
99f96b9564
deleted zone_redundancy from System struct
continuous-integration/drone/push Build is pending
continuous-integration/drone/pr Build is pending
2022-10-04 18:09:24 +02:00
ad917ffd3f
Fix instant substractions that might have panicked
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-29 15:53:54 +02:00
1f97ce37e6
Shutdown properly on SIGTERM/SIGHUP and on Windows signals
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-09-28 10:41:59 +02:00
1778e4b318
Fix span name for api server requests
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-26 16:21:30 +02:00
bd842e1388
Correction of a few bugs in the tests, modification of ClusterLayout::check
continuous-integration/drone/push Build is pending
continuous-integration/drone/pr Build is pending
2022-09-22 19:30:01 +02:00
7f3249a237
New version of the algorithm that calculate the layout.
...
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
2022-09-21 14:39:59 +02:00
782630fc27
Initialize metrics exporter earlier ( fix #389 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 17:50:22 +02:00
ded444f6c9
Ability to have custom timeouts in request strategy (not used)
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 16:01:41 +02:00
357b72f4ff
Merge branch 'main' into configurable-timeouts
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 15:19:58 +02:00
1f7b050b7d
Change a warn! into a debug!
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-20 11:49:48 +02:00
56592e1853
RPC performance changes
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build was killed
- configurable ping timeout
- single, much higher, configurable RPC timeout
- no more concurrency semaphore
2022-09-19 20:31:00 +02:00
5d4b6f2173
Faster GetObject workflow for getting entire objects
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-19 12:19:59 +02:00
76f42a1a2b
Properly return HTTP 204 when deleting non-existent object ( fix #227 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-14 17:07:55 +02:00
e46dc2a8ef
Allow for hostnames in bootstrap_peers and rpc_public_addr ( fix #353 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-14 16:09:38 +02:00
ab722cb40f
Add checks on replication_factor of layouts we use ( fix #363 , fix #364 )
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-13 16:22:23 +02:00
38be811b1c
Fix clippy lint that says we should implement Eq
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-13 16:08:00 +02:00
44733474bb
Remove/change println! in server code ( fix #358 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-13 16:01:55 +02:00
07febd3ecd
Ensure data dir is created immediately when Garage starts ( fix #349 )
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-13 15:57:27 +02:00
11bdc971e2
Merge pull request 'use netapp streaming body' ( #343 ) from netapp-stream-body into main
...
continuous-integration/drone/push Build is passing
Reviewed-on: #343
2022-09-13 15:26:08 +02:00
ff30891999
Use streaming block API for get with Range requests
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-13 15:13:07 +02:00
28a4af73ca
Use netapp 0.5 published from crates.io
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-13 13:11:44 +02:00
b823151a0b
improvements in block manager
continuous-integration/drone/push Build is passing
2022-09-12 16:57:38 +02:00
f91fab8582
Simplify+improve async hasher by using bounded channel
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-12 16:23:43 +02:00
7f54706b95
Merge branch 'lx-perf-improvements' into netapp-stream-body
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-08 15:50:56 +02:00
d9d199a6c9
Merge branch 'main' into lx-perf-improvements
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-08 15:49:17 +02:00
ceb1f0229a
Move version back into util
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-07 18:36:46 +02:00
f310fce34b
Inject GIT_VERSION even later
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-07 18:30:15 +02:00
06df301de5
Fix merge
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-07 18:16:01 +02:00
8adc654713
Merge branch 'main' into improve-deps
2022-09-07 18:13:27 +02:00
107853334b
Fix build error
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-09-07 18:10:19 +02:00
1449204439
Add warnings when features are not included in build
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-07 18:02:13 +02:00
2e00809af5
Error messages when system-libs XOR bundled-libs != 1
continuous-integration/drone/push Build is pending
continuous-integration/drone/pr Build is pending
2022-09-07 17:57:12 +02:00
2559f63e9b
Make all HTTP services optionnal
continuous-integration/drone/push Build is pending
continuous-integration/drone/pr Build is pending
2022-09-07 17:54:16 +02:00
28d86e7602
Report build features in garage --help
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-09-07 17:05:21 +02:00
db61f41030
Move GIT_VERSION injection later in build chain to reduce build times
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-09-07 11:59:56 +02:00
907054775d
Faster copy, better get error message
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-06 22:25:23 +02:00
6b958979bd
Merge branch 'lx-perf-improvements' into netapp-stream-body
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-06 22:13:01 +02:00
c2cc08852b
Reenable node ordering
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-09-06 19:31:42 +02:00
6f02c36a89
cargo fmt
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-06 17:59:41 +02:00
0f5689c169
Include code from v0.5.1 directly to remove dependencies
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-06 17:52:50 +02:00
1e92e9f782
Disable k2v tests when feature is disabled
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-06 17:29:46 +02:00
431dee050f
Remove opentelemetry-otlp dep in api/
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-09-06 17:25:44 +02:00
b886c75450
Make all DB engines optional build features
2022-09-06 17:09:43 +02:00
48ffaaadfc
Bump versions to 0.8.0 (compatibility is broken already)
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-09-06 16:47:56 +02:00
454d8474ef
Fix clippy
2022-09-06 15:43:50 +02:00
ea36b9ff90
Allow building without Prometheus exporter (/metrics endpoint)
...
continuous-integration/drone/pr Build is failing
prometheus and opentelemetry-prometheus add 7 extra dependencies in
total and increases the size of the garage binary by ~7 % (with
fat LTO).
2022-09-06 01:15:09 +02:00
e7af006c1c
Make OTLP exporter optional via feature "telemetry-otlp"
...
opentelemetry-otlp add 48 (!) extra dependencies and increases the
size of the garage binary by ~11 % (with fat LTO).
2022-09-06 01:14:47 +02:00