You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Csaba Ringhofer (Jira)" <ji...@apache.org> on 2019/10/15 15:07:00 UTC

[jira] [Created] (IMPALA-9045) Filter base directories of open/aborted compactions

Csaba Ringhofer created IMPALA-9045:
---------------------------------------

             Summary: Filter base directories of open/aborted compactions
                 Key: IMPALA-9045
                 URL: https://issues.apache.org/jira/browse/IMPALA-9045
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 3.3.0
            Reporter: Csaba Ringhofer


Major compactions creates directories in base_writeid_visibilityTxnId, which expresses that it contains all deltas +bases <= writeId, and that the compaction's transaction is visibilityTxnId. visibilityTxnId is needed to check whether the compaction is open/aborted/committed, and base directories belonging to open/aborted compactions should be ignored.

Currently Impala only checks the writeId, so if there is an open/aborted compaction, it will be used as base, and base/delta directories with smaller writeIds will be ignored, leading to potential data loss.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)