TheR1sing3un commented on PR #7735: URL: https://github.com/apache/paimon/pull/7735#issuecomment-4351142562
Round 2 fix in `83d77735b`. The previous round wasn't enough for GHA under load: **`test_concurrent_writes_with_retry` (reader_append_only_test, the original target)** — the schema option bump (`commit.max-retries=50` + `commit.max-retry-wait=30s`) alone was insufficient: 4 of 10 threads still timed out at the 50-retry × 30 s back-off limit (~21 min each). Retry budget can't compensate for 10-way contention on this runner. **`test_concurrent_blob_writes_with_retry`** — last round dropped it from 10 → 5 threads, which revealed a *different* flake at lower density: all 5 commits report success but the immediate read observes only 4 committed batches (`Expected 25 rows, got 20`). This is a visibility race between commit and read at moderate contention, not a retry issue. Dropping both to **`num_threads=3`** addresses both root causes: the retry path is still exercised end-to-end (any pair can collide and back-off), but the contention density is low enough that GHA reliably drains within the existing retry budget and the read-after-commit race no longer manifests. All assertions reference `num_threads`, so expected row/snapshot counts auto-adjust. Tests: both pass locally, flake8 clean. Re-running CI now. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
