ozone
ozone copied to clipboard
HDDS-10133. Add a method to check key name in OMKeyRequest
What changes were proposed in this pull request?
There is some identical processing logic in OMFileCreateRequest, OMKeyCommitRequest, OMKeyCreateRequest, and OMKeyRenameRequest, and the purpose of this PR is to simplify them. Details: HDDS-10133
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10133
How was this patch tested?
Ensure that unit tests pass successfully.