Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.1, 3.0.0-alpha1
-
None
-
Reviewed
Description
In refreshVolumes, we are creating executor service and submitting volume addition tasks to it.
But we are not shutting down the service after the use. Even though we are not holding instance level service, the initialized thread could be left out.
ExecutorService service = Executors.newFixedThreadPool( changedVolumes.newLocations.size());
So, simple fix for this would be to shutdown the service after its use.