Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-15102

Updates to a dataset TTL are not applied

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0, 4.3.5, 5.1.2
    • Fix Version/s: 6.2.0
    • Component/s: Datasets
    • Labels:
      None
    • Rank:
      1|i00mbb:

      Description

      When a dataset TTL is updated, then the updated TTL value is not propagated to the underlying HBase table's table descriptor. This prevents the Tephra co-processor from getting the updated value of the TTL during major compactions, and thus the new TTL will not be applied.

      This regression was introduced during a re-factoring in release 4.3.1 - https://github.com/cdapio/cdap/blob/v5.1.3/cdap-data-fabric/src/main/java/co/cask/cdap/data2/dataset2/lib/table/hbase/HBaseTableAdmin.java#L177. In addition to TTL, some other properties that influence readless increments, bloom filter and max values are also not propagated.

      Note that, during creation of a table the properties are propagated correctly. 

        Attachments

          Activity

            People

            • Assignee:
              mikkin Mikkin Patel
              Reporter:
              poorna Poorna Chandra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: