Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

"remainingLogsToRecovery" metric will be added into "kafka.log" → LogManager, like currently we added the OfflineLogDirectoryCount  and LogDirectoryOffline metrics.

Proposed Changes

The proposal is to propose a remainingLogsToRecovery  metric to keep the remaining logs number to be recovered. The total number of logs to be recovered will be added in step (b) described in "motivation" section. When each log completes the recovery for all the segments under the log, the remainingLogsToRecovery will be decremented, and in the end, it'll be 0. When broker is not under log recovery state, the number will always be 0.

...