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

黃竣陽 commented on KAFKA-19530:
-----------------------------

Hello [~ckamal], if you not work on this, may I take it?

> RemoteLogManager should record lag stats when remote storage is offline
> -----------------------------------------------------------------------
>
>                 Key: KAFKA-19530
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19530
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Kamal Chandraprakash
>            Priority: Major
>
> When remote storage is offline, then the segmentLag and bytesLag metrics are 
> not recorded. These metrics are useful to know the pending data to upload 
> when remote storage is down. 
> https://sourcegraph.com/github.com/apache/kafka/-/blob/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java?L1088
> Calculate the bytesLag and segmentsLag when 
> `remoteStorageManagerPlugin.get().copyLogSegmentData` throws error



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

Reply via email to