feat(component-failover-adoption): unify worker's dual connect paths into single pipeline
Replace worker's separate default/single-host and multi-candidate connect branches with one path: synthesize-or-accept a candidate list, validate, convert via xce_cluster_config_to_client_config(), connect once. Register a flag-only rejoin callback (no I/O, no client-lib reentry) and remove the liveness probe's bounded give-up so the library owns retry/recovery.
This commit is contained in:
parent
86e442c9cd
commit
ce9f734a38
6 changed files with 556 additions and 141 deletions
|
|
@ -90,9 +90,12 @@ case "$COMPONENT" in
|
|||
;;
|
||||
worker)
|
||||
setup_build
|
||||
echo "=== Building lib + worker ==="
|
||||
meson compile -C "$BUILD_DIR" xcecd xcecd_worker xrun
|
||||
echo "=== Worker built (no unit tests registered) ==="
|
||||
echo "=== Building lib + worker + tests ==="
|
||||
meson compile -C "$BUILD_DIR" xcecd xcecd_worker xrun controller_connector_test
|
||||
if [ "$RUN_TESTS" = 1 ]; then
|
||||
echo "=== Running worker tests ==="
|
||||
meson test -C "$BUILD_DIR" --suite worker --print-errorlogs
|
||||
fi
|
||||
;;
|
||||
apiserver)
|
||||
setup_build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue