You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/09 19:37:00 UTC
[jira] [Updated] (HDDS-8549) Restore client-side validation of bucket names
[ https://issues.apache.org/jira/browse/HDDS-8549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-8549:
---------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org