HAProxy checks get fastinter 500ms and timeout check 2.5s (hung replica detected within 6.5 s), http-reuse never with uvicorn keep-alive 60 s so the LB closes idle replica connections, and app connections set idle_in_transaction_session_timeout so a frozen replica releases its idempotency key. The bench stand runs behind HAProxy with N replicas and gains the failover profile (make bench_failover / bench_failover_quick): constant-rate writes with a key and reads while each replica is stopped, killed or paused, with per-second timeline, detection and recovery time and write reconciliation. Driver commands idle-conns and hang-key check the keep-alive and hung-transaction decisions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
41 lines
747 B
Plaintext
41 lines
747 B
Plaintext
# Local/private state
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
config.toml
|
|
secrets/
|
|
certs/private/
|
|
*.key
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
*.pem
|
|
*.tfstate*
|
|
volumes/
|
|
data/
|
|
backups/
|
|
# Runtime/build artifacts
|
|
.venv/
|
|
__pycache__/
|
|
*.py[cod]
|
|
node_modules/
|
|
dist/
|
|
build/
|
|
target/
|
|
bin/
|
|
obj/
|
|
coverage/
|
|
*.log
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
graphify-out/
|
|
# make bench_quick: самопроверка стенда, не результат
|
|
evidence/bench/quick-*/
|
|
# make bench_failover_quick: то же для профиля отказа реплик
|
|
evidence/failover/quick-*/
|
|
# сравнения пробных меток
|
|
evidence/compare/*quick-*
|
|
# Keep small, sanitized evidence summaries in evidence/ under version control.
|
|
# Inspect git diff --cached: ignore rules are not a secret scanner.
|