You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2021/12/07 15:30:00 UTC
[jira] [Updated] (HIVE-25777) ACID: Pick the compactor transaction over insert dir
[ https://issues.apache.org/jira/browse/HIVE-25777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denys Kuzmenko updated HIVE-25777:
----------------------------------
Labels: Compaction (was: )
> ACID: Pick the compactor transaction over insert dir
> ----------------------------------------------------
>
> Key: HIVE-25777
> URL: https://issues.apache.org/jira/browse/HIVE-25777
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 3.1.2, 4.0.0
> Reporter: Gopal Vijayaraghavan
> Priority: Major
> Labels: Compaction
>
> If there are two competing versions of a particular write-id, one from the compactor and another from the original insert, always pick the compactor one once it is committed.
> If the directory structure looks like
> {code}
> base_000011/
> base_000011_v192/
> {code}
> Then always pick the v192 transaction if txnid=192 is committed.
> This is required to ensure that the raw base_ dir can be deleted safely on non-atomic directory deletions (like s3), without a race condition between getSplits and the actual file-reader.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)