Accusys d0dae475f9
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
fix: 確保每個 file_uuid 只有一個 monitor_job
檢查結果:目前 DB 無重複 job,但 uuid 索引非 UNIQUE,且兩個建立路徑
(create_monitor_job 的 check-then-insert、REPAIR 的 INSERT WHERE NOT EXISTS)
都有 race,並發時可能產生重複 job。

三層防護:
- DB: CREATE UNIQUE INDEX uq_monitor_jobs_uuid ON monitor_jobs(uuid)
- create_monitor_job INSERT 改 ON CONFLICT (uuid) DO UPDATE
- REPAIR INSERT 加 ON CONFLICT (uuid) DO NOTHING

驗證:並發 5 個 process 請求 → 仍只有 1 個 job
2026-11-19 16:49:13 +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%