HDDS-15242. Container report support StorageType#10380
Conversation
|
@greenwich @chungen0126 @ivandika3 @peterxcli Please help to review |
|
Thanks! LGTM with one note though: It's not directly related to this PR: |
Thank you for your feedback. This is a vulnerability that needs to be fixed. I'm considering whether to use Hadoop's By the way, have you guys tried using the Storage Policy feature internally yet? |
I agree, having |
On trying it internally: not end-to-end yet. The merged work plus this PR gives a solid datanode foundation (select/persist/create container by StorageType) and SCM replica-tier visibility, but the write path that would use it isn't wired on HDDS-11233 yet — OM doesn't read a bucket/key policy at allocation, the block location carries no storage type, and SCM allocation/pipelines aren't tier-aware. So two buckets tagged for different tiers still land on the same hardware today. We're excited about the feature and are following closely. Once the placement path is finalised, we'd be happy to validate it on a mixed SSD/HDD cluster or provide any other help if needed. Is that roughly the next milestone you're targeting? |
What changes were proposed in this pull request?
Support for Datanode to report the StorageType of container replicas to SCM
ContainerReplicaStorageType, and verify whether the storage policy for the key is satisfied.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15242
How was this patch tested?
New tests.