Versions Compared

Key

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

...

So far, we have no way to know the log recovery progress. All we can do is checking check the broker log and know it is busy on doing recovery. In this KIP, we're going to expose a remainingLogsToRecovery  metric to allow the admin have a way to monitor the progress of log recovery.

...

The proposal is to propose a remainingLogsToRecovery  metric to keep show 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.

...