[ 
https://issues.apache.org/jira/browse/HIVE-11948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Koifman updated HIVE-11948:
----------------------------------
    Description: 
at least some operations (or parts of operations) can run at READ_COMMITTED.
CompactionTxnHandler.setRunAs()

CompactionTxnHandler.findNextToCompact()
if update stmt includes cq_state = '" + INITIATED_STATE + "'" in WHERE clause 
and logic to look for "next" candidate

CompactionTxnHandler.markCompacted()
perhaps add cq_state=WORKING_STATE in Where clause (mostly as an extra 
consistency check)


  was:at least some operations (or parts of operations) can run at 
READ_COMMITTED.


> Investigate TxnHandler and CompactionTxnHandler to see where we can reduce 
> transaction isolation level
> ------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11948
>                 URL: https://issues.apache.org/jira/browse/HIVE-11948
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 0.14.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>
> at least some operations (or parts of operations) can run at READ_COMMITTED.
> CompactionTxnHandler.setRunAs()
> CompactionTxnHandler.findNextToCompact()
> if update stmt includes cq_state = '" + INITIATED_STATE + "'" in WHERE clause 
> and logic to look for "next" candidate
> CompactionTxnHandler.markCompacted()
> perhaps add cq_state=WORKING_STATE in Where clause (mostly as an extra 
> consistency check)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to