Andrew Kyle Purtell created PHOENIX-7818:
--------------------------------------------

             Summary: 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
             Fix For: 5.4.0, 5.3.1


{{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)

Reply via email to