You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement mechanism to stop recurring task of ExecutionPlan and shutdown its executor service.
Which Areas Would Be Affected?
ExecutionPlan(and its implementation),
ExecutionManager and
FederatedCatalogCacheExtension
Why Is the Feature Desired?
When terminating a BaseRuntime that uses a recurring ExecutionPlan, it is essential to ensure that the associated executor service is properly shut down.
While the executor service threads will eventually terminate when the java process exits, relying solely on this behavior can lead to unnecessary resource consumption. The proposed mechanism can trigger and ensure a clean shutdown of these threads.
Who will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Solution Proposal
ExecutionPlan and ExecutionManager should include a stop method.
The FederatedCatalogCacheExtension should call the ExecutionManager#stop() during shutdown phase.
Feature Request
Implement mechanism to stop recurring task of
ExecutionPlan
and shutdown its executor service.Which Areas Would Be Affected?
ExecutionPlan
(and its implementation),ExecutionManager
andFederatedCatalogCacheExtension
Why Is the Feature Desired?
When terminating a BaseRuntime that uses a recurring ExecutionPlan, it is essential to ensure that the associated executor service is properly shut down.
While the executor service threads will eventually terminate when the java process exits, relying solely on this behavior can lead to unnecessary resource consumption. The proposed mechanism can trigger and ensure a clean shutdown of these threads.
Who will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Solution Proposal
ExecutionPlan
andExecutionManager
should include astop
method.The
FederatedCatalogCacheExtension
should call theExecutionManager#stop()
during shutdown phase.Originally posted by @farhin23 in #273
The text was updated successfully, but these errors were encountered: