Attila Doroszlai created HDDS-8549:
--------------------------------------
Summary: Restore client-side validation of bucket names
Key: HDDS-8549
URL: https://issues.apache.org/jira/browse/HDDS-8549
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone Client
Affects Versions: 1.4.0
Reporter: Attila Doroszlai
Assignee: Dave Teng
HDDS-7586 completely removed client-side validation of bucket names.
Most of the name checks still apply to bucket names regardless of the
strictness setting. E.g. name should not be {{null}}, too short, too long,
etc.
Removing client-side validation introduces two problems:
* usability: previously these were rejected at the client with specific
message, but now we only get a generic message from OM
* performance: validation requires round-trip to OM
The goal of this task is to restore client-side validation, always checking
names with {{strict=false}} setting. This catches most cases at the client
with the more specific message. Server (OM) will still reject names with {{_}}
if it's set to {{strict=true}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]