[
https://issues.apache.org/jira/browse/HDDS-6943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai reassigned HDDS-6943:
--------------------------------------
Assignee: Attila Doroszlai
> Linked bucket layout types changes on setQuota
> ----------------------------------------------
>
> Key: HDDS-6943
> URL: https://issues.apache.org/jira/browse/HDDS-6943
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Manager
> Affects Versions: 1.3.0
> Reporter: Soumitra Sulav
> Assignee: Attila Doroszlai
> Priority: Critical
> Fix For: 1.3.0
>
>
> Linked bucket changes to an independent bucket on changing setQuota on the
> linked bucket.
> {code:java}
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket link test/buck-obs
> test2/buck-obs-link
> 22/06/24 07:53:21 INFO rpc.RpcClient: Creating Bucket: test2/buck-obs-link,
> with the Bucket Layout null, om as owner, Versioning false, Storage Type set
> to DISK and Encryption set to false
> BUCKET_ALREADY_EXISTS Bucket already exist
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket info test2/buck-obs-link
> {
> "volumeName" : "test2",
> "bucketName" : "buck-obs-link",
> "sourceVolume" : "test",
> "sourceBucket" : "buck-obs",
> "creationTime" : "2022-06-24T07:50:07.835Z",
> "modificationTime" : "2022-06-24T07:50:07.835Z",
> "owner" : "om"
> }
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket info test/buck-obs
> {
> "metadata" : { },
> "volumeName" : "test",
> "name" : "buck-obs",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-06-24T07:33:13.659Z",
> "modificationTime" : "2022-06-24T07:33:13.659Z",
> "quotaInBytes" : -1,
> "quotaInNamespace" : -1,
> "bucketLayout" : "OBJECT_STORE",
> "owner" : "om",
> "link" : false
> }
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket setquota test2/buck-obs-link
> --quota 1GB
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket info test/buck-obs
> {
> "metadata" : { },
> "volumeName" : "test",
> "name" : "buck-obs",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-06-24T07:33:13.659Z",
> "modificationTime" : "2022-06-24T07:33:13.659Z",
> "quotaInBytes" : -1,
> "quotaInNamespace" : -1,
> "bucketLayout" : "OBJECT_STORE",
> "owner" : "om",
> "link" : false
> }
> [root@quasar-rjcvzc-1 ~]# ozone sh bucket info test2/buck-obs-link
> {
> "metadata" : { },
> "volumeName" : "test2",
> "name" : "buck-obs-link",
> "storageType" : "DISK",
> "versioning" : false,
> "usedBytes" : 0,
> "usedNamespace" : 0,
> "creationTime" : "2022-06-24T07:50:07.835Z",
> "modificationTime" : "2022-06-24T07:54:03.820Z",
> "quotaInBytes" : 1073741824,
> "quotaInNamespace" : -1,
> "bucketLayout" : "LEGACY",
> "replicationConfig" : {
> "replicationFactor" : "ONE",
> "requiredNodes" : 1,
> "replicationType" : "RATIS"
> },
> "link" : false
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]