You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/06/02 12:46:00 UTC
[jira] [Updated] (HIVE-27406) CompactionTxnHandler and TxnHandler cleanup
[ https://issues.apache.org/jira/browse/HIVE-27406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-27406:
----------------------------------
Labels: pull-request-available (was: )
> CompactionTxnHandler and TxnHandler cleanup
> -------------------------------------------
>
> Key: HIVE-27406
> URL: https://issues.apache.org/jira/browse/HIVE-27406
> Project: Hive
> Issue Type: Improvement
> Components: Hive
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
>
> Tech Debt elimination. Cleanup and standardize CompactionTxnHandler.java and TxnHandler.java considering the following items, but not limited to them:
> * Check for proper javadoc
> * Remove unnecessary logging, adjust log level properly
> * Consistent transaction handling:
> ** No rollback for selects
> ** Exception in case of update count mismatch (single row update returns 0 or >1 for updated rows)
> ** Review proper usage of RetrySemantics.* annotations
> * Common private template methods for 'infrastructure' code (same try-catch logic, connection handling, etc: possibly with spring-jdbc
> * Replace inline hardcoded and assembled SQL statements with parameterized constants.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)