SETTTL is not working when we have 2 tiered layer level

Description

Please the below-given configuration.

alluxio.master.tieredstore.global.level0.alias=MEM
alluxio.master.tieredstore.global.level1.alias=HDD
alluxio.master.tieredstore.global.levels=3
alluxio.worker.tieredstore.level0.watermark.high.ratio=0.9
alluxio.worker.tieredstore.level0.watermark.low.ratio=0.7
alluxio.worker.tieredstore.reserver.enabled=true
alluxio.worker.tieredstore.level0.dirs.path=/mnt/ramdisk
alluxio.worker.tieredstore.level0.alias=MEM
alluxio.worker.tieredstore.level1.alias=HDD
alluxio.worker.tieredstore.level1.watermark.high.ratio=0.9
alluxio.worker.tieredstore.level1.watermark.low.ratio=0.7
alluxio.worker.tieredstore.level1.dirs.path=/alluxiodata
alluxio.worker.tieredstore.levels=2
alluxio.master.ttl.checker.interval=60000
alluxio.worker.tieredstore.level1.dirs.quota=10GB

Once the alluxio comes up, I have executed the TTL command:

sudo ./bin/alluxio fs mkdir /samplePath
sudo ./bin/alluxio fs setTtl -action free /samplePath 600000

From a client application end, I have configured the below alluxio options through JAVAOpts:
-Dalluxio.user.file.write.tier.default=1 -Dalluxio.user.file.writetype.default=CACHE_THROUGH

Test case -

  1. Upload a file to /samplePath path

  2. Validate whether the file is cached or not

  3. Wait for 1min (Since the ttl checker interval is 1min)

  4. Validate whether file is cached or not

Expected - File should be uncached

Actual - File is still cached

Environment

None

Status

Assignee

Bin Fan

Reporter

navya k

Labels

None

Components

Affects versions

1.8.1

Priority

Major
Configure