Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
All functions in `partition_manager` are using pass-by-value so setting the `stop` flag to true can't terminate other threads.
func (manager partitionManager) Stop() {
manager.stop = true
}
Also, the thread used to cleanup expired app can't be stopped quickly after removing partition because it needs to sleep for 24 hours.
func (manager partitionManager) cleanupExpiredApps() { for { if manager.stop { break } manager.pc.cleanupExpiredApps() time.Sleep(appRemovalInterval) } }
Attachments
Issue Links
- fixes
-
YUNIKORN-385 Deleted partitions are not deleted from core
-
- Closed
-
- links to