Skip to content

HIVE-29567: Data loss bug in query-based major compaction#6431

Open
deniskuzZ wants to merge 1 commit intoapache:masterfrom
deniskuzZ:compaction_fix
Open

HIVE-29567: Data loss bug in query-based major compaction#6431
deniskuzZ wants to merge 1 commit intoapache:masterfrom
deniskuzZ:compaction_fix

Conversation

@deniskuzZ
Copy link
Copy Markdown
Member

@deniskuzZ deniskuzZ commented Apr 14, 2026

What changes were proposed in this pull request?

Introduced createValidTxnListForCompactor which creates same validReadTxnList keeping the compaction txn in the exceptions list as OPEN

Why are the changes needed?

Data loss fix

Does this PR introduce any user-facing change?

No

How was this patch tested?

Cluster
None of the existing compaction tests spotted the problem due to diff in local and HDFS empty dir handling in AcidState.

@sonarqubecloud
Copy link
Copy Markdown

@deniskuzZ deniskuzZ changed the title [TEST] Create ValidTxnList for Compactor and add compaction transaction in the exceptions HIVE-29567: Data loss bug in query-based major compaction Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants