This commit is contained in:
2026-10-15 00:24:46 +03:00
parent 0ab3a341aa
commit d9b9e8593c
73 changed files with 5029 additions and 37 deletions
+11
View File
@@ -0,0 +1,11 @@
@echo off
rem Windows restart hook for make test-persistence: same steps as scripts/restart.sh.
rem Python on Windows cannot run .sh directly (WinError 193), so this .cmd is used instead.
rem Restarts ALL api replicas and ALL stores (PostgreSQL, Valkey), then the balancer.
rem Volumes are kept (no down -v). Containers are the same (same ID, new start time).
cd /d "%~dp0.."
docker compose stop api || exit /b 1
docker compose restart postgres valkey || exit /b 1
docker compose start api || exit /b 1
docker compose restart lb || exit /b 1
exit /b 0