Accusys 9b1618f85b fix: force re-run 可靠性 — 備份/恢復 + orphan job + stuck detector 不再毀資料
備份/恢復:
- force re-run 前備份 output 到 .backup/{uuid}/{timestamp}/,label 存 Redis
- processor 失敗時自動還原備份
- 成功後清除 backup label,避免日後誤還原舊資料

worker 穩定性:
- Worker 啟動時重置 orphan running jobs / processor_results 為 pending
  (原先只處理 error_message='Worker restarted',orphan 會永遠佔住
   backpressure 名額,讓 force re-run 的 pending job 排不到)
- detect_and_rescan_stuck_jobs 改為直接重置 job 為 pending,不再用
  force register command(unregister 會刪除 videos 記錄 + 所有 output,
  對 force re-run 是毀滅性資料遺失)
2026-11-19 16:44:39 +08:00
2026-10-05 00:05:41 +08:00

momentry_core

Digital asset management system with video analysis and RAG - Production version with API Key authentication


⚠️ 重要法律声明

MarkBase Queue Protocol 是完全独立实现的队列协议标准。

  • ❌ 不兼容 Apache Kafka 协议或 API
  • ❌ 未使用 Apache Kafka 源代码
  • ✅ 独立实现,借鉴公开技术概念
  • ✅ 独立协议,HTTP/REST + JSON

详细声明见: docs_v1.0/LEGAL/MARKBASE_QUEUE_DISCLAIMER.md


致谢

本项目的 VLM 队列系统设计借鉴了 Apache Kafka 的优秀设计理念,包括:

  • 追加写入日志(Append-Only Log)
  • Offset 追踪机制
  • 分区和消费者组概念

感谢 Apache Kafka 社区的开源贡献。

声明: Momentry Core 是完全独立实现的系统,未使用 Apache Kafka 的任何代码。


许可证

本项目采用专有许可证。未经授权不得使用、修改或分发。

S
Description
Digital asset management system with video analysis and RAG - Production version with API Key authentication
Readme 1.6 GiB
2026-03-25 15:49:30 +08:00
Languages
PLpgSQL 30.5%
Python 27.4%
HTML 20.4%
Rust 13.3%
Shell 3.1%
Other 5.2%