[jira] [Resolved] (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] [Resolved] (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 resolved CARBONDATA-3483.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.6.0

> 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
>    Affects Versions: 1.5.3, 1.6.0, 1.5.4
>            Reporter: Zhichao  Zhang
>            Assignee: Zhichao  Zhang
>            Priority: Major
>             Fix For: 1.6.0
>
>          Time Spent: 5h 50m
>  Remaining Estimate: 0h
>
> 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)