Saketa Chalamchala created HDDS-7526:
----------------------------------------
Summary: 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
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]