Skip to content

fix(pgwire): bypass cache for data-dependent point plans - #185

Merged
farhan-syah merged 1 commit into
mainfrom
fix-cached-point-lookup-identity
Jul 19, 2026
Merged

farhan-syah merged 1 commit into
mainfrom
fix-cached-point-lookup-identity

Conversation

@farhan-syah

Copy link
Copy Markdown
Member

Summary

  • classify document point reads and PK-targeted mutations as data-dependent plans
  • keep mutable PK-to-surrogate bindings out of the schema-only physical-plan cache
  • cover simple and extended query reads plus point and multi-key UPDATE/DELETE regressions

Validation

  • cargo nextest run -p nodedb --test point_get_after_miss_then_insert
  • cargo nextest run -p nodedb-sql -E 'test(cacheability)'\n- cargo clippy -p nodedb -p nodedb-sql --all-targets -- -D warnings\n- cargo fmt --all --check

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