整理:卡住记录巡检重投、库根离线暂停、排除视频开待处理、Move 后补移除 qB 任务
- 巡检(挂在"补提交与补入库"):running 且无活跃 verifyAndImport 运行超过 30 分钟的记录以 record:<id> 重新入队(迁移 0069 记 requeue_count / requeued_at),重投 3 次仍卡住 → 未完成文件记失败、记录收尾、 开 organize_stalled 待处理 - executeRecord 库根离线 / 建目标目录失败不再抛错耗尽重试:记录保持 running 写原因、开待处理 (library_root_offline:<根> 复用规划期同一事项),任务按等待收尾;离线记录每 5 分钟重投、不计上限, 恢复后清原因并关闭离线事项 - 排除的待确认视频统一开 organize_excluded 待处理,记录原因 excluded_unresolved - Move 后移除 qB 任务抽成 removeMovedDownload:重放已结束记录与巡检都会对 move 成功但未移除的下载任务再试; 修正"下次同步重试"的误导日志 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Cxwgnn2pbzQ7rXv3rq7fei
This commit is contained in:
1 parent
70935f4c17
commit
0744be5c68
10 files changed
+674
-37
No files matched your search
@@ -1081,6 +1081,8 @@ export interface OrganizationRecordTable {
|
||||
change_xid: Generated<string>;
|
||||
created_at: GeneratedTimestamptz;
|
||||
updated_at: GeneratedTimestamptz;
|
||||
requeue_count: Generated<number>;
|
||||
requeued_at: Timestamptz | null;
|
||||
}
|
||||
|
||||
export interface OrganizeSourceSnapshotTable {
|
||||
|
||||
Reference in new issue
Block a user