Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3483

Can not run horizontal compaction when execute update sql

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 1.6.0, 1.5.4
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zzcclp Zhichao Zhang
                Reporter:
                zzcclp Zhichao Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 50m
                  5h 50m