[arvados] updated: 2.1.0-3097-gff3645c9c

git repository hosting git at public.arvados.org
Fri Dec 2 16:25:06 UTC 2022


Summary of changes:
 sdk/python/arvados/diskcache.py | 3 +++
 1 file changed, 3 insertions(+)

       via  ff3645c9c262f5a2aca67ba42ba86084d0e9978a (commit)
      from  31f36e0c8aca5afe43cbe6273ecb8509fa41600b (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 ff3645c9c262f5a2aca67ba42ba86084d0e9978a
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Fri Dec 2 11:24:46 2022 -0500

    18842: Need to call ready.set() on base cases
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/sdk/python/arvados/diskcache.py b/sdk/python/arvados/diskcache.py
index f3984bbca..15afa23a8 100644
--- a/sdk/python/arvados/diskcache.py
+++ b/sdk/python/arvados/diskcache.py
@@ -36,15 +36,18 @@ class DiskCacheSlot(object):
         try:
             if value is None:
                 self.content = None
+                self.ready.set()
                 return
 
             if len(value) == 0:
                 # Can't mmap a 0 length file
                 self.content = b''
+                self.ready.set()
                 return
 
             if self.content is not None:
                 # Has been set already
+                self.ready.set()
                 return
 
             blockdir = os.path.join(self.cachedir, self.locator[0:3])

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list