You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Marta Kuczora (Jira)" <ji...@apache.org> on 2026/04/16 19:05:00 UTC
[jira] [Created] (HIVE-29571) ACID Compaction: Marking the compaction as compacted and committing the compaction txn should happen in the same DB transaction
Marta Kuczora created HIVE-29571:
------------------------------------
Summary: ACID Compaction: Marking the compaction as compacted and committing the compaction txn should happen in the same DB transaction
Key: HIVE-29571
URL: https://issues.apache.org/jira/browse/HIVE-29571
Project: Hive
Issue Type: Task
Reporter: Marta Kuczora
Assignee: Marta Kuczora
Currently the markCompacted call and the commitTxn call happens separately. The markCompacted call happens in the AcidCompactionService.compact method while the commitTxn happens in the close() method. This could lead to inconsistent state that the compaction is marked as finished and ready for cleaning, but the compaction transaction is still open. We should check if we could handle this two calls in the same DB transaction to avoid such inconsistency.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)