[
https://issues.apache.org/jira/browse/HIVE-23780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17153797#comment-17153797
]
Peter Vary commented on HIVE-23780:
-----------------------------------
Sorry [~ngangam], just realized that you commented on the jira (after pushing
the change :( ).
To answer your question, we very strictly try to separate TxnHandler stuff from
ObjectStore stuff - If we want to split out transaction related classes later
this way we can do it without too much effort. Also, the transactionalListener
was created for just the same purpose. We use it for the notifications as well.
So all-in-all the answer is that we want to keep TxnHandler as separated from
ObjectStore as possible.
Thanks,
Peter
> Fail dropTable if acid cleanup fails
> ------------------------------------
>
> Key: HIVE-23780
> URL: https://issues.apache.org/jira/browse/HIVE-23780
> Project: Hive
> Issue Type: Bug
> Components: Metastore, Standalone Metastore, Transactions
> Reporter: Mustafa Iman
> Assignee: Mustafa Iman
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Acid cleanup happens after dropTable is committed. If cleanup fails for some
> reason, there are leftover entries in acid tables. This later causes dropped
> table's name to be unusable by new tables.
> [~pvary] [~ngangam]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)