KKcorps commented on PR #20391: URL: https://github.com/apache/pinot/pull/20391#issuecomment-7371363942
This is a fresh check of the rewritten head, and the earlier comments still stand for the old heads. **The snapshot and TTL run on the add thread holds up when it races pushes, reloads and restarts, and the model found no new bad orders.** The model replayed its 127 known bad orders with and without this change, and none of them changed. A 62-minute search then made 1,156 runs on OFFLINE tables with and without `metadataTTL`, mixing pushes, reloads and restarts. It modeled each add running its own check, taking the lock for the partition, and then taking the snapshot and removing expired keys, with other adds and the key scan free to interleave. It also pinned the one gap this shape allows. The loaded check runs before the lock, so a run can pass it, wait behind another run, and sweep while a new push is still loading. The model found no wrong answer from that order. The late backfill gap from the first head stays closed, since an OFFLINE segment with no validDocIds file goes through the regular add. The model covers one partition on one replica. It cannot say how long a snapshot and a key scan on the Helix thread hold up a state transition, which I only checked by reading. <!-- upsert-model-check head=9eae43ac73c0dd5477de4f0a19e35de12562a56b --> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
