Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9045

Filter base directories of open/aborted compactions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: Impala 3.3.0
    • Fix Version/s: None
    • Component/s: Frontend
    • Labels:
    • Epic Color:
      ghx-label-6

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              boroknagyz Zoltán Borók-Nagy
              Reporter:
              csringhofer Csaba Ringhofer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: