Devesh Kumar Singh created HDDS-15871:
-----------------------------------------
Summary: Make BackgroundPipelineCreator tier-aware
Key: HDDS-15871
URL: https://issues.apache.org/jira/browse/HDDS-15871
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Devesh Kumar Singh
Assignee: Devesh Kumar Singh
BackgroundPipelineCreator pre-creates a small pool of OPEN pipelines to keep
write latency low. Today it always creates DISK-tier pipelines (because
PipelineFactory.create(replicationConfig) hardcodes
StorageTier.getDefaultTier()). On a heterogeneous cluster, the first write to a
HOT bucket therefore always has to wait for a fresh SSD pipeline to be created
and reach OPEN.
Extend the creator to iterate over the set of tiers actually supported by the
cluster (discovered from DN storage reports) and pre-create one small pool per
tier. A tier with no supporting DNs is skipped cleanly rather than failing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]