ЛР4: приватное S3-хранилище (SeaweedFS), вложения PNG/JPEG, reconciler, исследование согласованности

This commit is contained in:
kolya5544
2026-10-03 05:10:45 +03:00
parent ec540a1a72
commit f875e2977f
50 changed files with 3953 additions and 27 deletions
+8
View File
@@ -0,0 +1,8 @@
@echo off
rem Windows analogue of stop-one.sh: stop exactly one API replica and leave it stopped.
set "cid="
echo %TARGET_INSTANCE_ID%| findstr /r "^[a-f0-9][a-f0-9]*$" >NUL || exit /b 2
for /f %%i in ('docker ps -q --filter id^=%TARGET_INSTANCE_ID% --filter label^=com.docker.compose.project^=mtusi-lab4 --filter label^=com.docker.compose.service^=api') do set "cid=%%i"
if "%cid%"=="" exit /b 3
docker stop --time 0 %cid% >NUL 2>&1
exit /b %errorlevel%