Skip to content

**<sub><sub>![P2 Badge](https://img.shields.io/badge/P2-yellow?style=flat)</sub></sub> Join documents before claiming schema jobs** #158

Description

@BigSimmo

P2 Badge Join documents before claiming schema jobs

The migration version now joins documents before claiming, but the canonical schema.sql still selects directly from indexing_v3_agent_jobs. In databases rebuilt from the schema, rows for documents that are no longer indexed are updated to processing and have attempts incremented before the later patched_documents CTE filters them out, so they are consumed without being returned to the worker until stale retry handling.

Useful? React with 👍 / 👎.

Originally posted by @chatgpt-codex-connector[bot] in #134 (comment)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions