fix(library): 跨源同步按目标范围改写并校验残留 #13

Merged
zheromiku merged 45 commits from fix/library-cross-scope-sync-residue into main 2026-10-29 22:13:50 +08:00
Showing only changes of commit 84e8a0dfdc - Show all commits
+8 -8
View File
@@ -37,17 +37,17 @@ type Config struct {
JournalRoot string
// Writer declaration passed to the binary, exactly as reviewed in
// scripts/library-capture.sh. Clients cannot influence it.
SourceApp string
SourcePG string
SourceES string
SourceApp string
SourcePG string
SourceES string
// SourceS3Endpoint 让宿主机用可达地址读源对象存储:容器 env 里的端点常常
// 只是服务名(minio:9000),宿主机解析不到,资源导出会失败。
SourceS3Endpoint string
GovernancePG string
Project string
Writers string
NonWriters string
MaxDuration time.Duration
GovernancePG string
Project string
Writers string
NonWriters string
MaxDuration time.Duration
// StopGrace bounds the graceful stop of one operation: SIGTERM first (the
// child aborts the maintenance window and restores writers), then SIGKILL
// only after this grace period. It must exceed the child's own restore budget.