DaveTeng0 opened a new pull request, #4708: URL: https://github.com/apache/ozone/pull/4708
## What changes were proposed in this pull request? Prevent writes to keys that start with ".snapshot" ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7168 ## How was this patch tested? - Unit tests - Manual test in a docker ozone cluster. I tried command "ozone sh key put vol1/bucket1/.snapshot/dir1/dir2/k1 tmpFile" The response is expected as follows """ INVALID_KEY_NAME Can not use key name starting with prefix: .snapshot """ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
