Skip to content

PHOENIX-7818 OmidTransactionContext.getVisibilityLevel missing break in switch#2436

Open
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7818
Open

PHOENIX-7818 OmidTransactionContext.getVisibilityLevel missing break in switch#2436
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7818

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 1, 2026

OmidTransactionContext.getVisibilityLevel() translates the OMID VisibilityLevel into Phoenix's PhoenixVisibilityLevel. A switch statement is missing a break statement. Execution falls through into the default arm, which unconditionally overwrites phoenixVisibilityLevel with null. Any caller that asks for the visibility level of a SNAPSHOT_ALL transaction always sees null.

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