[ARVADOS] updated: 7bf89e17945bb6610d6339409a6a411803851434

Git user git at public.curoverse.com
Tue Oct 25 11:39:24 EDT 2016


Summary of changes:
 services/fuse/arvados_fuse/__init__.py | 8 ++++++++
 1 file changed, 8 insertions(+)

       via  7bf89e17945bb6610d6339409a6a411803851434 (commit)
      from  b73985d8a0c9173aec57f6a81fe540b2813a5bff (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 7bf89e17945bb6610d6339409a6a411803851434
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Oct 25 11:39:17 2016 -0400

    10008: Comment to explain ancestor update.

diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py
index 72b0e23..f32a5db 100644
--- a/services/fuse/arvados_fuse/__init__.py
+++ b/services/fuse/arvados_fuse/__init__.py
@@ -510,6 +510,14 @@ class Operations(llfuse.Operations):
         fh = next(self._filehandles_counter)
         self._filehandles[fh] = FileHandle(fh, p)
         self.inodes.touch(p)
+
+        # Normally, we will have received an "update" event if the
+        # parent collection is stale here. However, even if the parent
+        # collection hasn't changed, the manifest might have been
+        # fetched so long ago that the signatures on the data block
+        # locators have expired. Calling checkupdate() on all
+        # ancestors ensures the signatures will be refreshed if
+        # necessary.
         while p.parent_inode in self.inodes:
             if p == self.inodes[p.parent_inode]:
                 break

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list