processChunks marked the knowledge failed and returned nil when BatchIndex failed, so ProcessDocument acked the task and the configured document-task retries never ran. A short embedding or vector-store outage left the row permanently failed; unchanged data-source syncs did not reprocess it. While attempts remain, still clean up the partial chunks and vectors but keep the row processing and return the error to the queue. The final attempt (or a caller without a retry loop) records the failure as before. |
||
|---|---|---|
| .. | ||
| access | ||
| repository | ||
| service | ||