[ARVADOS] updated: 2.1.0-2168-g08b093c53

Git user git at public.arvados.org
Tue Mar 29 18:51:40 UTC 2022


Summary of changes:
 services/fuse/arvados_fuse/fusedir.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  08b093c536619aa2ccaa3456d1e4d03aac73714d (commit)
      from  9b5642f1d360ca1572dff5291c9be72913d4a623 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 08b093c536619aa2ccaa3456d1e4d03aac73714d
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Mar 29 14:51:14 2022 -0400

    18941: Need to leave some space for current block
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/fuse/arvados_fuse/fusedir.py b/services/fuse/arvados_fuse/fusedir.py
index 1406c4e4a..8dcde59ec 100644
--- a/services/fuse/arvados_fuse/fusedir.py
+++ b/services/fuse/arvados_fuse/fusedir.py
@@ -525,17 +525,18 @@ class CollectionDirectory(CollectionDirectoryBase):
                         self.collection.update()
                         new_collection_record = self.collection.api_response()
                     else:
+                        get_threads = max(self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)) - 1, 0)
                         # Create a new collection object
                         if uuid_pattern.match(self.collection_locator):
                             coll_reader = arvados.collection.Collection(
                                 self.collection_locator, self.api, self.api.keep,
                                 num_retries=self.num_retries,
-                                get_threads=(self.api.keep.block_cache.cache_max // (64 * 1024 * 1024)))
+                                get_threads=get_threads)
                         else:
                             coll_reader = arvados.collection.CollectionReader(
                                 self.collection_locator, self.api, self.api.keep,
                                 num_retries=self.num_retries,
-                                get_threads=(self.api.keep.block_cache.cache_max // (64 * 1024 * 1024))
+                                get_threads=get_threads)
                             )
                         new_collection_record = coll_reader.api_response() or {}
                         # If the Collection only exists in Keep, there will be no API

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list