[ https://issues.apache.org/jira/browse/KAFKA-19530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kamal Chandraprakash resolved KAFKA-19530. ------------------------------------------ Fix Version/s: 4.2.0 Resolution: Fixed > 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 > Assignee: 黃竣陽 > Priority: Major > Fix For: 4.2.0 > > > 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)