[
https://issues.apache.org/jira/browse/HDDS-7526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17643468#comment-17643468
]
Ritesh H Shukla commented on HDDS-7526:
---------------------------------------
This seems to be a critical bug that was hit by partners and should be
considered for 1.3.0 release. This was brought up during community sync.
> Replication config of existing bucket overwritten when quota is set
> -------------------------------------------------------------------
>
> Key: HDDS-7526
> URL: https://issues.apache.org/jira/browse/HDDS-7526
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI, Ozone Client
> Reporter: Saketa Chalamchala
> Assignee: Saketa Chalamchala
> Priority: Major
> Labels: pull-request-available
>
> sh-4.2$ ozone sh bucket info o3://om/vol1/saketa2
> {
> "metadata" : \{ },
> "volumeName" : "vol1",
> "name" : "saketa2",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-11-21T23:47:20.992Z",
> "modificationTime" : "2022-11-21T23:48:53.166Z",
> "encryptionKeyName" : "key1",
> "quotaInBytes" : -1,
> "quotaInNamespace" : -1,
> "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
> "replicationConfig" : {
> "data" : 3,
> "parity" : 2,
> "ecChunkSize" : 1048576,
> "codec" : "RS",
> "replicationType" : "EC",
> "requiredNodes" : 5
> },
> "link" : false
> }
> sh-4.2$ ozone sh bucket setquota --quota=500MB --namespace-quota=900
> o3://om/vol1/saketa2
> sh-4.2$ ozone sh bucket info o3://om/vol1/saketa2
> {
> "metadata" : \{ },
> "volumeName" : "vol1",
> "name" : "saketa2",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-11-21T23:47:20.992Z",
> "modificationTime" : "2022-11-21T23:51:29.191Z",
> "encryptionKeyName" : "key1",
> "quotaInBytes" : 524288000,
> "quotaInNamespace" : 900,
> "bucketLayout" : "FILE_SYSTEM_OPTIMIZED",
> "replicationConfig" : {
> "replicationFactor" : "ONE",
> "requiredNodes" : 1,
> "replicationType" : "RATIS"
> },
> "link" : false
> }
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]