Skip to content

fix(#1438): validate cache consumers by relation generations - #1443

Merged
justinjoy merged 1 commit into
issue-1438-generationsfrom
issue-1438-cache
Sep 9, 2026
Merged

justinjoy merged 1 commit into
issue-1438-generationsfrom
issue-1438-cache

Conversation

@justinjoy

Copy link
Copy Markdown
Collaborator

Summary

  • store relation identity/view/storage snapshots on materialization, filtered, sorted, primary, and differential cache consumers
  • reject stale cache/index reuse on same-row-count mutation, permutation, COW, and replacement
  • force full rebuild/reindex on generation mismatch and isolate worker-cloned snapshots
  • add direct filtered/sorted/differential/worker generation regression coverage

Validation

  • normal cache/arrangement regressions: 15/15 passed
  • ASan/UBSan cache/arrangement regressions: 15/15 passed
  • post-format focused cache suite: 10/10 passed in normal and ASan/UBSan builds
  • clang-tidy, ABI/public API, threading_doc, and diff checks passed

Scope

Stacked on #1442 (which is stacked on #1440/#1435). Pinning, borrowed-storage lifetime, and deferred destruction remain owned by #1384/#1435. The unrelated existing test_io_adapter governor-symbol link failure is not changed here.

@justinjoy
justinjoy merged commit 04f9681 into issue-1438-generations Sep 9, 2026
5 checks passed
@justinjoy
justinjoy deleted the issue-1438-cache branch September 9, 2026 00:50
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