anuragp010 commented on code in PR #11626:
URL: https://github.com/apache/ozone/pull/11626#discussion_r4496122986
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/multipart/TestS3InitiateMultipartUploadRequestWithFSO.java:
##########
@@ -166,6 +166,15 @@ private long verifyDirectoriesInDB(List<String> dirs,
final long volumeId,
return parentID;
}
+ /** A top-level key is a child of the bucket, so the bucket is its parent. */
+ @Override
+ protected String getMultipartOpenKey(String volumeName, String bucketName,
Review Comment:
This is covered end to end by
`TestOzoneStoragePolicy#testMultipartUploadKeepsStoragePolicyOfInitiate`. It
initiates an MPU request with no explicit policy on a `WARM` bucket, changes
the bucket policy to `HOT`/`COLD`, uploads two parts (the first spans
multiple blocks), completes, and then verifies that the key policy, the tier
of every block, and the datanode container are all `WARM`.
This test is now parameterized to test for both `OBS` and `FSO` layout
buckets.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]