# disallow clients to list from UFS directlyalluxio.client.list.status.from.ufs.enabled=false
此外,还有一些与性能相关的配置可用:
# set the number of threads that clients use to handle index requests, defaults to the number of available CPU coresalluxio.client.index.service.parallelism=32# set the batch size of the index requests that clients fetch from workers or the UFS, defaults to 1000alluxio.client.index.service.list.batch.size=1000
需要注意的是,如果一个目录被设置为具有不可变或最长存活时间的可缓存性,即使直接通过Alluxio对其进行更改,这些更改也不会立即反映出来。如果它被设置为不可变,请使用bin/alluxio index invalidate命令使现在过时的缓存失效。如果它被设置为具有最长存活时间,那么陈旧的缓存列表将在指定的存活时间过后自动刷新。您也可以使用invalidate命令手动使缓存失效,并在此后强制立即刷新。