You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Zhichao Zhang (JIRA)" <ji...@apache.org> on 2019/07/31 15:50:00 UTC

[jira] [Created] (CARBONDATA-3483) Do not run horizontal compaction when execute update sql

Zhichao  Zhang created CARBONDATA-3483:
------------------------------------------

             Summary: Do not run horizontal compaction when execute update sql
                 Key: CARBONDATA-3483
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3483
             Project: CarbonData
          Issue Type: Bug
            Reporter: Zhichao  Zhang
            Assignee: Zhichao  Zhang


After PR#3166, horizontal compaction will not actually run when execute update sql.

When it runs update sql and will run horizontal compaction if needs, it will require update.lock and compaction.lock when execute CarbonAlterTableCompactionCommand.alterTableForCompaction, but these two locks already are locked when it starts to execute update sql. so it will require locks failed and don't execute compaction.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)