anuragp010 commented on PR #12022: URL: https://github.com/apache/ozone/pull/12022#issuecomment-6860957971
> could we cover a file spanning multiple blocks and an overwrite with another policy, for both LEGACY and FSO? For example, a COLD file in a WARM bucket should retain COLD on every block; overwriting it with HOT should update both metadata and placement. Thanks @devmadhuu for the review and pointing out these scenarios. Yes, I have added tests to cover the multi-block scenario (`assertMultiBlockFileKeepsPolicy`) and the overwrite scenario (`assertOverwriteUpdatesPolicyAndPlacement`) . Both tests pass with the existing implementation. -- 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]
