Devesh Kumar Singh created HDDS-17528:
-----------------------------------------
Summary: Gate bucket creation and property updates before Storage
Policy finalization
Key: HDDS-17528
URL: https://issues.apache.org/jira/browse/HDDS-17528
Project: Apache Ozone
Issue Type: Sub-task
Components: Ozone Manager
Reporter: Devesh Kumar Singh
Migrate OMBucketCreateRequest and OMBucketSetPropertyRequest validators to the
new component version. For create, explicitly decide between the existing
pre-finalization strip-and-succeed behavior and the recommended reject explicit
policy/fallback behavior. For set-property, continue rejecting storagePolicy,
allowFallbackStoragePolicy and unsetStoragePolicy until finalization. Keep
no-policy operations compatible. Update the corresponding integration tests
only after the behavior decision is accepted.
*Why:* The OM server must reject metadata it cannot safely replicate and
persist; relying on client checks alone is unsafe because clients may be older,
newer or bypass the normal SDK. Silent stripping can report success despite
lost user intent.
*Acceptance criteria:* Behavior decision documented; pre-finalization
incompatible policy state never persisted; legacy operations pass; all three
update fields covered; post-finalization operations persist expected metadata;
invalid policy enum rejected.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]