ChenXi created HDDS-14236:
-----------------------------
Summary: Fix BackgroundService to follow scheduleWithFixedDelay
semantics
Key: HDDS-14236
URL: https://issues.apache.org/jira/browse/HDDS-14236
Project: Apache Ozone
Issue Type: Sub-task
Components: server-framework
Reporter: ChenXi
Assignee: ChenXi
Previously, BackgroundService.PeriodicalTask.run() would submit tasks and
return immediately without waiting for them to complete.
if a task took longer than the interval, the next run would start immediately.
This PR makes the BackgroundService.PeriodicalTask to wait for an interval
after a task completes before executing the next task, regardless of how long
the task takes, following the scheduleWithFixedDelay pattern.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]