Skip to content

Replay cached prefix for fresh lazy row views - #83

Merged
apstndb merged 3 commits into
mainfrom
fix/a3-lazy-replay
Sep 6, 2026
Merged

apstndb merged 3 commits into
mainfrom
fix/a3-lazy-replay

Conversation

@apstndb

@apstndb apstndb commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

After first(.rows[]), a fresh lazy rows view previously skipped the cached prefix: a three-row result reported length two or returned only rows two and three.

Replay cached rows from each view's own position before reading additional rows. Array materialization returns the complete cache, including values already consumed through the same captured view. Add regressions for partial reads, captured views, redaction, and errors after the cached prefix.

Builds on the active-cursor stats-drain fix merged in #82. This PR targets main and contains only the fresh-view replay fix; the broader streaming work in #70 stays open.

Validation: build, package tests, full emulator suite, vet, and golangci-lint with Go 1.25.13 passed locally. Go and lint workflows run on the updated main-targeting PR head.

@apstndb
apstndb changed the base branch from fix/a2-lazy-stats to main September 6, 2026 20:26
@apstndb
apstndb merged commit 015a8b1 into main Sep 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant