Skip to content

HDDS-15249. SCM Pipeline Support Create And Get With StorageTier#10815

Draft
devmadhuu wants to merge 5 commits into
apache:HDDS-11233from
devmadhuu:HDDS-15249
Draft

HDDS-15249. SCM Pipeline Support Create And Get With StorageTier#10815
devmadhuu wants to merge 5 commits into
apache:HDDS-11233from
devmadhuu:HDDS-15249

Conversation

@devmadhuu

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Thread a StorageTier from the SCM block-allocation RPC down to PipelineFactory.create, so callers can request a pipeline (and, via #10810 , a container) on a specific storage tier. Removes the // TODO StoragePolicy replace this StorageTier with the passed StorageTier hardcode in PipelineFactory that forced every pipeline creation onto DISK.

Please describe your PR in detail:

  1. Thread StorageTier through the block-allocation RPC and BlockManager
  2. Wire StorageTier into PipelineManager and PipelineFactory

Depends on #10810 (which adds a persisted StorageTier field to ContainerInfo)

Now with this PR:

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15249

How was this patch tested?

Updated and extended tests in TestBlockManager, TestSCMBlockProtocolServer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant