adoroszlai commented on PR #8003: URL: https://github.com/apache/ozone/pull/8003#issuecomment-2697327921
`BlockDeletingService` is created with interval and timeout taken from config: https://github.com/apache/ozone/blob/10945c88c3a1cfbf197e156ab229a00179262241/hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/ozoneimpl/OzoneContainer.java#L245-L260 They are stored in the base `BackgroundService` class: https://github.com/apache/ozone/blob/10945c88c3a1cfbf197e156ab229a00179262241/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BackgroundService.java#L58-L65 which schedules the task when started: https://github.com/apache/ozone/blob/10945c88c3a1cfbf197e156ab229a00179262241/hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/utils/BackgroundService.java#L108-L109 Reconfiguring does not change values in `BackgroundService` (they are `final`), and even updating `interval` wouldn't change the task already scheduled with fixed delay (it needs to be rescheduled). -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
