mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 01:50:43 +00:00
The round built each thread's batch inside the thread, before arriving at the latch, so a throw there left the remaining threads waiting on an arrival that never came -- the test hung instead of failing. A spawn loop that ended early did the same. Batches are now built before any thread starts, so nothing between spawn and arrival can throw, and a guard counts down the shortfall for threads that were never spawned before joining the ones that were. The depth accounting having moved to insert entry, depthSamples is now the denominator of the mean depth, so it gets its own assertions: equal to insertCount once every thread has been joined, and moving with the duplicate-key round. The overlap assertions are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>