X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6e8bf4f423aa174f38b552161dd7bc2dd1ecb18..8171328873751d5bfd47cd9da3f6ff9a66c84659:/services/fuse/arvados_fuse/__init__.py diff --git a/services/fuse/arvados_fuse/__init__.py b/services/fuse/arvados_fuse/__init__.py index 1696f856a5..14dd7f3f85 100644 --- a/services/fuse/arvados_fuse/__init__.py +++ b/services/fuse/arvados_fuse/__init__.py @@ -475,24 +475,13 @@ class Operations(llfuse.Operations): for item in self.inodes.inode_cache.find_by_uuid(ev["object_uuid"]): item.invalidate() - if ev.get("object_kind") == "arvados#collection": - pdh = new_attrs.get("portable_data_hash") - # new_attributes.modified_at currently lacks - # subsecond precision (see #6347) so use event_at - # which should always be the same. - stamp = ev.get("event_at") - if (stamp and pdh and item.writable() and - item.collection is not None and - item.collection.modified() and - new_attrs.get("is_trashed") is not True): - item.update(to_record_version=(stamp, pdh)) oldowner = old_attrs.get("owner_uuid") newowner = ev.get("object_owner_uuid") for parent in ( self.inodes.inode_cache.find_by_uuid(oldowner) + self.inodes.inode_cache.find_by_uuid(newowner)): - parent.child_event(ev) + parent.invalidate() @getattr_time.time() @catch_exceptions