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

    https://github.com/apache/carbondata/pull/2091#discussion_r176903880
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/constants/CarbonCommonConstants.java
 ---
    @@ -1602,8 +1602,20 @@
       // default value is 2 days
       public static final String 
CARBON_SEGMENT_LOCK_FILES_PRESERVE_HOURS_DEFAULT = "48";
     
    +  /**
    +   * The number of invisible segment info which will be preserved in 
tablestatus file,
    +   * if it exceeds this value, they will be removed and write to 
tablestatus.history file.
    +   */
    +  @CarbonProperty
    +  public static final String CARBON_INVISIBLE_SEGMENTS_PRESERVE_COUNT =
    +      "carbon.invisible.segments.preserve.count";
    +
    +  /**
    +   * default value is 20, it means that it will preserve 20 invisible 
segment info
    --- End diff --
    
    The default is 200 right. Please update comment


---

Reply via email to