Kamal Chandraprakash created KAFKA-19530: --------------------------------------------
Summary: 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 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)