发布切换容器前等待生产上游同步完成 #284
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/WuYongJie-deploy-sync-guard-oct07"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
修改
两种生产发布入口在替换应用容器前获取现有 /run/caiwu-upstream-sync.lock。等待最多 1800 秒,超时明确退出,保留现有容器。持锁贯穿切换与验收,避免生产镜像同步被部署终止并遗留 running 状态。
文件
验证
影响
无金额、权限、数据库迁移或生产连接配置改动。发布可能等待正在执行的生产同步完成。此前被另一次发布终止的本次发货窗口检查已如实标记 failed,保留镜像和历史待补状态;不宣称数据已校准完成。