You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Anurag Parvatikar (Jira)" <ji...@apache.org> on 2026/10/23 07:03:00 UTC

[jira] [Created] (HDDS-17374) Handle old clients not passing StoragePolicy in allocateBlock

Anurag Parvatikar created HDDS-17374:
----------------------------------------

             Summary: Handle old clients not passing StoragePolicy in allocateBlock
                 Key: HDDS-17374
                 URL: https://issues.apache.org/jira/browse/HDDS-17374
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Anurag Parvatikar
            Assignee: Anurag Parvatikar


Handle old clients not passing StoragePolicy to OM in AllocateBlock: With an upgraded cluster containing all OMs supporting storagePolicy, an older client will not send the StoragePolicy field in any request made to the OM. This is of consequence to the allocateBlock as it allocates block based on the StoragePolicy sent by the client. If the client doesn't send a storage policy, it uses the bucket policy and falls back to the default. 

If the Key is created with the Bucket policy and before the subsequent allocateBlock call, the bucket policy changes, then allocateBlock would not stay true to the Key's StoragePolicy.

 

This ticket is to handle such a scenario.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org