efade2eab0
SplitBrainResolverStrategy now defaults to leader-auto-down (the in-repo LeaderAutoDowningProvider, #106, with the #132 shut-out restart on). auto-down and keep-oldest stay supported. Drilled on the docker rig, docker-env2 and the QA pair (central + site, kill and stop-and-hold) before the flip. - ClusterOptions default + validator/HOCON comments updated. - Shipped Host appsettings.Central/Site.json and every docker/ and docker-env2/ node appsettings now say leader-auto-down. The leader-auto-down overlays are kept as no-ops (drill records reference them); new docker-compose.auto-down.yml overlays keep Akka AutoDowning available for comparison drills. - Tests: default asserts leader-auto-down; new HOCON test for an unset strategy; TwoNodeClusterFixture defaults to the production posture. - Docs: CLAUDE.md, Component-ClusterInfrastructure, components/Host + Cluster, README, failover procedures, Traefik, docker + env2 READMEs; register row 70 closed. No deploy needed: DEV, QA and both rigs set the key explicitly. Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
26 lines
1.1 KiB
YAML
26 lines
1.1 KiB
YAML
# Opt-in overlay: run the central pair and the site-x pair on Akka's deprecated
|
|
# `AutoDowning` provider (`auto-down`), the shipped default from 2026-07-21 until
|
|
# 2026-11-15, instead of the default `leader-auto-down` (ScadaBridge#116). For comparison
|
|
# drills only. Env wins over the mounted appsettings.
|
|
#
|
|
# A downing-provider change must reach both nodes of a pair at the same time - never
|
|
# roll it one node at a time. Apply (from the main checkout, both pairs together):
|
|
#
|
|
# docker compose -f docker-env2/docker-compose.yml -f docker-env2/docker-compose.auto-down.yml \
|
|
# up -d --force-recreate --no-deps central-a central-b site-x-a site-x-b
|
|
#
|
|
# Back to the default by re-running the same command without the overlay file.
|
|
services:
|
|
central-a:
|
|
environment:
|
|
ScadaBridge__Cluster__SplitBrainResolverStrategy: "auto-down"
|
|
central-b:
|
|
environment:
|
|
ScadaBridge__Cluster__SplitBrainResolverStrategy: "auto-down"
|
|
site-x-a:
|
|
environment:
|
|
ScadaBridge__Cluster__SplitBrainResolverStrategy: "auto-down"
|
|
site-x-b:
|
|
environment:
|
|
ScadaBridge__Cluster__SplitBrainResolverStrategy: "auto-down"
|