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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhichao  Zhang updated CARBONDATA-3483:
---------------------------------------
    Description:
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 can't execute compaction.

  was:
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.


> Can 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
>            Priority: Minor
>
> 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 can't execute compaction.



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