Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Error message is not thrown when trying to create '.snapshot' directory the 2nd time
Steps to reproduce -
# ozone fs -mkdir -p ofs://ozone1715615402/vol2/buck7/.snapshot/ 24/05/14 17:18:42 INFO rpc.RpcClient: Creating Bucket: vol2/buck7, with bucket layout FILE_SYSTEM_OPTIMIZED, om as owner, Versioning false, Storage Type set to DISK and Encryption set to false, Replication Type set to server-side default replication type, Namespace Quota set to -1, Space Quota set to -1 mkdir: Cannot create key under path reserved for snapshot: .snapshot/ # echo $? 1 # # # ozone fs -mkdir -p ofs://ozone1715615402/vol2/buck7/.snapshot/ # echo $? 0