wenbingshen opened a new issue, #3636: URL: https://github.com/apache/bookkeeper/issues/3636
### Motivation Currently, the Auditor class has more than 2,000 lines of code, including the definition and initialization of monitoring metrics, the scheduling and function execution of various detection tasks, the update of monitoring metrics, and some internal classes defined for detection; for beginners, read Auditor would be difficult and very poorly readable. ### Changes I would like to do something neat with the Auditor class code like this: 1. Auditor class: Only reserved to do some necessary initialization work, scheduling of various detection tasks 2. Separate monitoring metrics into `AuditorStats` 3. Separate the auditBookies task to the `AuditorBookieCheckTask` 4. Separate the checkAllLedgers task into the `AuditorCheckAllLedgersTask` 5. Separate placementPolicyCheck task into `AuditorPlacementPolicyCheckTask` 6. Separate replicasCheck to `AuditorReplicasCheckTask` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
