Adversarial upload helper treats retryable Index contention as terminal failure #1522

Open
opened 2026-10-09 09:08:52 +00:00 by kayg · 0 comments
Owner

The #1500 full campaign encountered a final Tus PATCH HTTP 503 with Index is busy; retry shortly during mixed load. Keep its existing 204 assertion.

A focused real-server comparison held a SQLite write transaction across the same final PATCH on production 9dc65437e and the candidate. Both returned 503 after 15.33 seconds, retained offset zero, and accepted the same-ID retry after the lock was released. Downloaded bytes exactly matched the offered source. No duplicate file or lost source was observed.

This is existing retryable Index contention. Review whether the general upload fixture should retry the advertised service-unavailable response with its existing stable upload ID; do not weaken the source-byte or single-writer checks. Evidence: merge35c tus-busy-classify.log and adversarial.log.

The #1500 full campaign encountered a final Tus PATCH HTTP 503 with `Index is busy; retry shortly` during mixed load. Keep its existing 204 assertion. A focused real-server comparison held a SQLite write transaction across the same final PATCH on production 9dc65437e and the candidate. Both returned 503 after 15.33 seconds, retained offset zero, and accepted the same-ID retry after the lock was released. Downloaded bytes exactly matched the offered source. No duplicate file or lost source was observed. This is existing retryable Index contention. Review whether the general upload fixture should retry the advertised service-unavailable response with its existing stable upload ID; do not weaken the source-byte or single-writer checks. Evidence: merge35c tus-busy-classify.log and adversarial.log.
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal-v0#1522
No description provided.