Commit graph

1944 commits

Author SHA1 Message Date
Alex Auvolat
0041b013a4
layout: refactoring and fix in layout helper 2023-12-11 16:09:22 +01:00
Alex Auvolat
adccce1145
layout: refactor/fix bad while loop 2023-12-11 15:45:14 +01:00
Alex Auvolat
85b5a6bcd1
fix some clippy lints 2023-12-11 15:31:47 +01:00
Alex Auvolat
e4f493b481
table: remove redundant tracing in insert_many 2023-12-11 14:57:42 +01:00
Alex Auvolat
f8df90b79b
table: fix insert_many to not send duplicates 2023-12-08 14:54:11 +01:00
Alex Auvolat
4dbf254512
layout: refactoring, merge two files 2023-12-08 14:15:52 +01:00
Alex Auvolat
64a6e557a4
rpc helper: small refactorings 2023-12-08 12:18:12 +01:00
Alex Auvolat
5dd200c015
layout: move block_read_nodes_of to rpc_helper to avoid double-locking
(in theory, this could have caused a deadlock)
2023-12-08 12:02:24 +01:00
Alex Auvolat
063294dd56
layout version: refactor get_node_zone 2023-12-08 11:50:58 +01:00
Alex Auvolat
7f2541101f
cli: improvements to the layout commands when multiple layouts are live 2023-12-08 11:24:23 +01:00
Alex Auvolat
91b874c4ef
rpc: fix system::health 2023-12-08 10:36:37 +01:00
Alex Auvolat
431b28e0cf
fix build with discovery features 2023-12-07 15:15:59 +01:00
Alex Auvolat
9cecea64d4
layout: allow sync update tracker to progress with only quorums 2023-12-07 14:51:20 +01:00
Alex Auvolat
aa59059a91
layout cli: safer skip-dead-nodes command 2023-12-07 11:56:14 +01:00
Alex Auvolat
d90de365b3
table sync: use write quorums to report global success or failure of sync 2023-12-07 11:16:10 +01:00
Alex Auvolat
95eb13eb08
rpc: refactor result tracking for quorum sets 2023-12-07 10:57:21 +01:00
Alex Auvolat
c8356a91d9
layout updates: fix the set of nodes among which minima are calculated 2023-12-07 10:30:26 +01:00
Alex
a8b0e01f88 Merge pull request 'OpenAPI specification of admin APIv1' (#672) from api-v1 into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/672
2023-11-29 15:42:46 +00:00
Quentin Dufour
8088690650
fix the doc 2023-11-28 16:18:28 +01:00
Alex Auvolat
c04dd8788a
admin: more info in admin GetClusterStatus 2023-11-28 14:25:04 +01:00
Alex
ffa659433d Merge pull request 'Doc: fix db_engines section and improve config reference' (#674) from fix-doc-db-engine into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/674
2023-11-28 12:03:46 +00:00
Alex Auvolat
cfa5550cb2 doc: move replication_mode to top of configuration page reference 2023-11-28 11:58:27 +01:00
Alex Auvolat
939d1f2e17 doc: improve navigation in configuration reference 2023-11-28 11:53:26 +01:00
Alex Auvolat
1f6efe57be doc: update the db_engine section 2023-11-28 11:33:31 +01:00
Alex Auvolat
539af6eac4
rpc helper: write comments + small refactoring of tracing 2023-11-28 11:12:39 +01:00
Quentin Dufour
3908619eac
add ClusterHealthReport endpoint to the API 2023-11-28 09:34:01 +01:00
Alex Auvolat
c539077d30
cli: remove historic layout info from status 2023-11-27 16:22:27 +01:00
Alex Auvolat
11e6fef93c
cli: add layout history and layout assume-sync commands 2023-11-27 16:22:25 +01:00
Alex Auvolat
539a920313
cli: show when nodes are draining metadata 2023-11-27 13:18:59 +01:00
Alex Auvolat
78362140f5
rpc: update system::health to take into account write sets for all partitions 2023-11-27 12:10:21 +01:00
Alex Auvolat
d6d239fc79
block manager: read_block using old layout versions if necessary 2023-11-27 11:52:57 +01:00
Quentin Dufour
68d23cccdf
disable int64 finally for now 2023-11-23 10:20:36 +01:00
Quentin Dufour
9f1043586c
set layout version as required 2023-11-23 10:16:16 +01:00
Quentin Dufour
1caa6e29e5
capacity is int64 2023-11-23 10:02:41 +01:00
Quentin Dufour
814b3e11d4
fix query parameters for keys 2023-11-23 08:50:10 +01:00
Quentin Dufour
2d37e7fa39
convert showsecretkey from bool to enum 2023-11-22 21:05:36 +01:00
Quentin Dufour
4f473f43c9
Change how query parameters are handled 2023-11-22 20:39:38 +01:00
Quentin Dufour
3684c29ad0
handle key changes 2023-11-22 18:14:38 +01:00
Quentin Dufour
0d415f42ac
Port GetKeyInfo by adding showSecretKey query param 2023-11-22 18:05:11 +01:00
Quentin Dufour
20b3afbde4
Port layout endpoints 2023-11-22 17:49:51 +01:00
Quentin Dufour
e3cd6ed530
port GetLayout and AddLayout 2023-11-22 15:24:30 +01:00
Quentin Dufour
9b24d7c402
Upgrade GetNodes 2023-11-22 14:25:04 +01:00
Alex
36bd21a148 Merge pull request 'Allow 0 as a part number marker' (#670) from asonix/garage:main into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/670
2023-11-22 10:33:31 +00:00
Quentin Dufour
d1d1940252
Health info message now advertises API v1 2023-11-22 09:28:50 +01:00
Quentin Dufour
c63b446989
skeleton for api v1 2023-11-22 08:58:09 +01:00
asonix
92fd899fb6 Allow 0 as a part number marker 2023-11-21 17:39:51 -06:00
Alex Auvolat
92dd2bbe15 jepsen: nlnet task3a seems to fix things 2023-11-16 18:09:13 +01:00
Alex Auvolat
3ecd14b9f6
table: implement write sets for insert_many 2023-11-16 16:41:45 +01:00
Alex Auvolat
22f38808e7
rpc_helper: don't use tokio::spawn for individual requests 2023-11-16 16:34:01 +01:00
Alex Auvolat
707442f5de
layout: refactor digests and add "!=" assertions before epidemic bcast 2023-11-16 13:51:40 +01:00