Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8544 Snapshot feature Phase 2 : Further enhancements for Ozone Snapshots
  3. HDDS-10858

[snapshot] Error message is not thrown when trying to create '.snapshot' directory the 2nd time

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Snapshot

    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 

      Attachments

        Activity

          People

            Unassigned Unassigned
            jyosin Jyotirmoy Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: