[ 
https://issues.apache.org/jira/browse/HDDS-16725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126939#comment-18126939
 ] 

Gargi Jaiswal commented on HDDS-16725:
--------------------------------------

No requirement of failure metrics.

> SCR failure metric from design doc is not implemented
> -----------------------------------------------------
>
>                 Key: HDDS-16725
>                 URL: https://issues.apache.org/jira/browse/HDDS-16725
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Elavarasan Kathirvel
>            Assignee: Gargi Jaiswal
>            Priority: Major
>              Labels: short-circuit-read
>
> As per the HDDS-10685 design document 
> ({{{}hadoop-hdds/docs/content/design/short-circuit-read.md{}}}), 
> Short-Circuit Read (SCR) should expose metrics for:
>  * bytes read through SCR
>  * successful SCR read count
>  * failed SCR read count
> The current implementation only partially delivers this. The failure metric 
> is not implemented.
>  
> Short-Circuit Read (SCR) failures are not captured in any datanode or client 
> metric. When SCR fails, the read typically falls back to gRPC and succeeds, 
> but there is no way to monitor or validate SCR failure rate through 
> JMX/metrics. 
>  
> *Expected Behavior:* 
>  * SCR success count, failure count, and bytes read should all be available 
> in metrics.
> *Actual Behavior:*
>  * Failure metric is missing. SCR failures are visible only in logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to