Investigate atomic write failures during Files reconcile storm #870

Open
opened 2026-10-02 17:20:27 +00:00 by kayg · 0 comments
Owner

Found during Forgejo #719 final Files crate gates. cargo test -p calternal-plugin-files -- --test-threads=2 failed twice in tests::internal_temp_paths_never_enter_index_during_atomic_write_reconcile_storm. In the post-merge run, the test exceeded its five-minute completion deadline; a concurrent writer also panicked with atomic write 176 failed: entry not found. The suite reported 146 passed, 1 failed, 1 ignored and took 1527.45 seconds. The earlier run showed the same test timing out and atomic write 752 failed: entry not found. The shared host was heavily loaded and the local media sandbox refused server startup at 6,913 threads against its 4,090 limit, so contention is a possible factor. No API response or data-loss evidence was collected. Please investigate whether the entry-not-found errors indicate an atomic-write/reconcile race and add a regression test. Parent: #719.

Found during Forgejo #719 final Files crate gates. `cargo test -p calternal-plugin-files -- --test-threads=2` failed twice in `tests::internal_temp_paths_never_enter_index_during_atomic_write_reconcile_storm`. In the post-merge run, the test exceeded its five-minute completion deadline; a concurrent writer also panicked with `atomic write 176 failed: entry not found`. The suite reported 146 passed, 1 failed, 1 ignored and took 1527.45 seconds. The earlier run showed the same test timing out and `atomic write 752 failed: entry not found`. The shared host was heavily loaded and the local media sandbox refused server startup at 6,913 threads against its 4,090 limit, so contention is a possible factor. No API response or data-loss evidence was collected. Please investigate whether the entry-not-found errors indicate an atomic-write/reconcile race and add a regression test. Parent: #719.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
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#870
No description provided.