-
Type:
Sub-task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-alpha2
-
Fix Version/s: 3.0.0-alpha4, 2.9.1
-
Component/s: fs/oss
-
Labels:None
-
Target Version/s:
code in getFileStatus function
AliyunOSSFileSystem.java
else if (objectRepresentsDirectory(key, meta.getContentLength())) { return new FileStatus(0, true, 1, 0, 0, qualifiedPath); }
When the object is a directory, we should set right modifiedtime rather than 0 for FileStatus