Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The current implementation of compaction uses the txn id in the directory name. This is used to isolate the queries from reading the directory until compaction has finished and to avoid the compactor marking used earlier. In case of replication, during bootstrap , directory is copied as it is with the same name from source to destination cluster. But the directory created by compaction with txn id can not be copied as the txn list at target may be different from source. The txn id which is valid at source may be an aborted txn at target. So conversion logic is required to create a new directory with valid txn at target and dump the data to the newly created directory.
Attachments
Attachments
Issue Links
- is caused by
-
HIVE-20823 Make Compactor run in a transaction
- Closed
- links to