Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
1.3.0
Description
Linked bucket changes to an independent bucket on changing setQuota on the linked bucket.
[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 }
Attachments
Issue Links
- links to