Jyotirmoy Sinha created HDDS-10858:
--------------------------------------
Summary: [snapshot] Error message is not thrown when trying to
create '.snapshot' directory the 2nd time
Key: HDDS-10858
URL: https://issues.apache.org/jira/browse/HDDS-10858
Project: Apache Ozone
Issue Type: Bug
Components: Snapshot
Reporter: Jyotirmoy Sinha
Error message is not thrown when trying to create '.snapshot' directory the 2nd
time
Steps to reproduce -
{code:java}
# 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 {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]