Skip to content

fix: avoid document delete chunk race#44

Open
AllureCurtain wants to merge 1 commit into
nageoffer:mainfrom
AllureCurtain:fix/document-delete-chunk-race
Open

fix: avoid document delete chunk race#44
AllureCurtain wants to merge 1 commit into
nageoffer:mainfrom
AllureCurtain:fix/document-delete-chunk-race

Conversation

@AllureCurtain

Copy link
Copy Markdown

变更说明

修复文档删除过程中与分块任务并发导致资源复活的问题。

主要调整:

  • 新增 deleting 状态与 CAS 状态流转,避免删除中的文档被重新分块。
  • 引入向量/文件清理 outbox worker,异步删除外部资源。
  • cleanup worker 抢占任务时复核 next_retry_time,避免退避期间被并发 worker 提前重试。

link #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant