Skip to content

Conversation

@matthewmcneely
Copy link
Contributor

Description

Fixes #9556

This PR fixes an issue where comparison functions invoked in transactions would miss un-committed values. This change ensure the transaction cache is first searched, before resuming the old flow through posting.GetNoStore and fetchValue.

A test was also added.

Checklist

  • The PR title follows the
    Conventional Commits syntax, leading
    with fix:, feat:, chore:, ci:, etc.
  • Code compiles correctly and linting (via trunk) passes locally
  • Tests added for new functionality, or regression tests for bug fixes added as applicable

@matthewmcneely matthewmcneely requested a review from a team as a code owner January 14, 2026 20:59
@github-actions github-actions bot added area/testing Testing related issues area/core internal mechanisms go Pull requests that update Go code labels Jan 14, 2026
@matthewmcneely matthewmcneely merged commit c2c4f2d into main Jan 16, 2026
26 checks passed
@matthewmcneely matthewmcneely deleted the matthewmcneely/fix-lossy-index-issue-in-txn branch January 16, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core internal mechanisms area/testing Testing related issues go Pull requests that update Go code

Development

Successfully merging this pull request may close these issues.

Indexed Predicates Not Visible in Queries Within Same Transaction Before Commit

3 participants