[
https://issues.apache.org/jira/browse/PHOENIX-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Viraj Jasani updated PHOENIX-7818:
----------------------------------
Fix Version/s: 5.3.2
(was: 5.3.1)
> OmidTransactionContext.getVisibilityLevel missing break in switch
> -----------------------------------------------------------------
>
> Key: PHOENIX-7818
> URL: https://issues.apache.org/jira/browse/PHOENIX-7818
> Project: Phoenix
> Issue Type: Sub-task
> Components: omid
> Reporter: Andrew Kyle Purtell
> Assignee: Andrew Kyle Purtell
> Priority: Major
> Fix For: 5.4.0, 5.3.2
>
>
> {{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{}}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)