[
https://issues.apache.org/jira/browse/HDDS-14560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18091969#comment-18091969
]
Chi-Hsuan Huang commented on HDDS-14560:
----------------------------------------
Looking at this, the DN knows which volume each container is on, but that never
reaches Recon: ContainerReplicaProto has no volume field and StorageReportProto
has no container info, so the two can't be joined at SCM/Recon.
Two options:
A. Add storageUuid to ContainerReplicaProto and group OPEN replicas by disk in
Recon \(full per\-replica mapping, but changes the per\-replica wire format and
touches DN, SCM and Recon\).
B. Have the DN aggregate the OPEN count per volume onto the existing per\-disk
StorageReportProto, and let Recon expose the per\-disk list it already stores.
I'm leaning towards B since nothing currently needs the per\-replica disk
mapping, so it keeps the change minimal: one optional field, no
ContainerReplicaProto or SCM ingestion change.
The new field would be an additive optional uint64 used only for Recon display
\(old DN omits it as 0, old SCM/Recon ignores it\), so I don't think it needs
HDDSLayoutFeature gating.
Does B sound right, and would you prefer the field gated? Happy to go with A if
the per\-replica mapping is worth keeping for future use.
> Recon does not show number of open containers per Disk on DN
> ------------------------------------------------------------
>
> Key: HDDS-14560
> URL: https://issues.apache.org/jira/browse/HDDS-14560
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Andrey Yarovoy
> Assignee: Chi-Hsuan Huang
> Priority: Major
> Labels: Recon
>
> CSM and DNs are supposed to balance open containers between disk to maximize
> DN's throughput but there is no simple way to see if open contains are
> properly distributed between available disks. Recon DN view shall provide
> this breakdown.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]