anuragp010 commented on PR #11626:
URL: https://github.com/apache/ozone/pull/11626#issuecomment-6821193281

   > except this below scenario. Can you check if this is possible ?
   > 1. The cluster is upgraded and finalized. An administrator sets the bucket 
policy to COLD.
   > 2. An old client starts an upload without sending any storage-policy field.
   > 3. OM inherits COLD from the bucket and saves it on the upload.
   > 4. While that upload is running, the administrator changes the bucket to 
WARM.
   > 5. The same old client requests another block, again without a policy 
field.
   > 6. OM currently resolves that missing field from the bucket’s current WARM 
policy, instead of the upload’s saved COLD policy.
   
   Hi @devmadhuu , as discussed, yes this is possible. Verified the same. This 
behaviour is possible in the normal createKey too and will use 
[HDDS-17374](https://issues.apache.org/jira/browse/HDDS-17374) to handle this 
scenario.
   


-- 
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]

Reply via email to