20260514 rsync默认限定发布点scope

This commit is contained in:
2026-05-15 17:17:41 +08:00
parent 137b3516d0
commit 615f8709af
4 changed files with 196 additions and 10 deletions

View File

@@ -24,6 +24,10 @@ OUTPUT_COMPACT_REPORT=1
# 是否复用持久 rsync mirror。1 表示跨 run 复用;失败隔离数据库时也不会清理 mirror。
ALLOW_RSYNC_MIRROR_REUSE=1
# rsync 同步 scope。
# publication-point 表示默认只同步当前发布点;module-root 表示扩大到 rsync module 根目录。
RSYNC_SCOPE=publication-point
# 前一轮失败或不完整时,是否隔离旧数据库和运行态目录后强制下一轮 snapshot。
# 建议保持 1;设置为 0 时,检测到前一轮失败会直接停止。
FAILURE_SNAPSHOT_RESET=1