Hello, this proposal is regarding HDDS-8278 <https://issues.apache.org/jira/browse/HDDS-8278> implementing Hadoop compatible file system setTimes() API.
I'd like to add this API into ofs and o3fs, to support both OBS and FSO bucket types. Keys/files/directories are supported. No support for volume and buckets. The use case is HBase. HBase's file cleaner depends on the file modification time to work properly. What to note: HCFS setTimes() updates both modification time and access time. In Ozone, we have creation time and modification time, but no access time. IMO this is a wise decision as I've seen access time causing major problems with HDFS in the past. So the accessTime parameter in the setTimes() API will be ignored by Ozone Manager. The feature itself is a tiny change: update modificationTime field of an OmKeyInfo object. But it requires a huge amount of boilerplate code to support this small change. You can find the link to the PR here: https://github.com/apache/ozone/pull/4720 Thanks, Weichiu