[ 
https://issues.apache.org/jira/browse/CARBONDATA-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454467#comment-15454467
 ] 

ASF GitHub Bot commented on CARBONDATA-198:
-------------------------------------------

Github user ravikiran23 commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/116#discussion_r77119210
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
 ---
    @@ -904,6 +904,27 @@
        */
       public static final int 
DEFAULT_CARBON_BLOCKLETDISTRIBUTION_MIN_REQUIRED_SIZE = 2;
     
    +  /**
    +   * File created in case of minor compaction request
    +   */
    +  public static String minorCompactionRequiredFile = 
"compactionRequired_minor";
    +
    +  /**
    +   * File created in case of major compaction request
    +   */
    +  public static String majorCompactionRequiredFile = 
"compactionRequired_major";
    +
    +  /**
    +   * Property for enabling system level compaction lock.1 compaction can 
run at once.
    +   */
    +  public static String ENABLE_SYSTEM_LEVEL_COMPACTION_LOCK =
    +      "carbon.enable.systemlevel.compaction.lock";
    --- End diff --
    
    fixed. 


> Implementing system level lock for compaction.
> ----------------------------------------------
>
>                 Key: CARBONDATA-198
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-198
>             Project: CarbonData
>          Issue Type: Bug
>          Components: spark-integration
>            Reporter: ravikiran
>
> 1. making DDL of compaction as blocking call.
> 2. implemented System level compaction locking. only one compaction allowed , 
> other requests will create compaction request file. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to