[ 
https://issues.apache.org/jira/browse/HDDS-7539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephen O'Donnell resolved HDDS-7539.
-------------------------------------
    Resolution: Duplicate

> Bucket quota set command sets bucket Ratis Replication factor to 1 
> -------------------------------------------------------------------
>
>                 Key: HDDS-7539
>                 URL: https://issues.apache.org/jira/browse/HDDS-7539
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Neil Joshi
>            Priority: Major
>
> Setting the space-quota for a bucket sets the bucket ratis replication factor 
> to ONE (standalone).  Subsequently all keys created under the bucket have a 
> replication factor of ONE, even though the ozone-site default replication 
> factor is 3.
>  
> When an ozone cluster is configured with _ozone.server.default.replication=3_ 
> and {_}ozone.server.default.replication.type=RATIS{_}, a bucket quota applied 
> to a bucket also *_incorrectly_* sets the ratis replication factor to ONE for 
> the bucket.
>  
> Reproduce through following steps on the docker ozone dev cluster:
>  
> {code:java}
> bash-4.2$ ozone sh volume create /vol1
> bash-4.2$ ozone sh bucket create /vol1/bucket1
> bash-4.2$ ozone sh bucket setquota --space-quota 3000000000 /vol1/bucket1
> bash-4.2$ ozone sh bucket info /vol1/bucket1
> {
>   "metadata" : { },
>   "volumeName" : "vol1",
>   "name" : "bucket1",
>   "storageType" : "DISK",
>   "versioning" : false,
>   "usedBytes" : 0,
>   "usedNamespace" : 0,
>   "creationTime" : "2022-11-24T18:38:40.193Z",
>   "modificationTime" : "2022-11-24T18:40:26.362Z",
>   "quotaInBytes" : 3000000000,
>   "quotaInNamespace" : -1,
>   "bucketLayout" : "LEGACY",
>   "replicationConfig" : {
>     "replicationFactor" : "ONE",
>     "requiredNodes" : 1,
>     "replicationType" : "RATIS"
>   },
>   "link" : false
> }
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to