Repository navigation
Conversation
Historical changes can invalidate a large fold several times before their sweep ends. Keep the earliest pending change through the sweep while cheap work and foreground requests continue, using the saved fold positions to bound the cost of the scheduling decision.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Historical inputs can change a session again long after the two-second settling interval. The full stored replay folded 63.13 million rows, with 34.42 million in logged runs that had a later logged fold for the same session.
While a stored-input sweep runs, the worker defers background changes that invalidate at least 4,096 rows at saved fold positions. Later commits share the earliest pending position. Other sessions continue to settle. Foreground priority now commits with its pending mark, so rollback restores both together and live changes and requested reads remain eligible. Ending a sweep wakes the same summary worker.
Focused job 8715 and the required hosted check passed at 3579824. The fixtures cover large historical refolds, small-session progress under the same sweep, requested reads, unfinished live input and the drain after the sweep. All recorded index schemas open under the additive update.
On the same 10.386 GB stored archive, job 8714 recorded 13,297 folds over 2,613,073 rows. The previous run recorded 14,395 folds over 2,711,478 rows. Both produced 1,359,157 messages and emptied the derived queues. Elapsed time was 369.47 seconds with the candidate and 311.11 seconds previously under different host load. One listing and one word search failed in the candidate run. The driver retained their classes and counts. A separate 95-input replay isolates repeated historical changes in one large session.
Task: plnext-sjuf.105