[ARVADOS] created: a5b458cad80a34a6e90745d47c7e522cbbeedb6b
Git user
git at public.curoverse.com
Wed Jul 5 15:00:03 EDT 2017
at a5b458cad80a34a6e90745d47c7e522cbbeedb6b (commit)
commit a5b458cad80a34a6e90745d47c7e522cbbeedb6b
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Fri Jun 30 11:00:03 2017 -0400
10584: When evicting a Collection from the cache, ensure that get/put worker
threads are stopped.
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curoverse.com>
diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index 0361ffe..11d26ad 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -511,6 +511,8 @@ class CollectionDirectory(CollectionDirectoryBase):
self.collection.stop_threads()
def clear(self):
+ if self.collection is not None:
+ self.collection.stop_threads()
super(CollectionDirectory, self).clear()
self._manifest_size = 0
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list