18719: Delete commented out code
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 9 Feb 2022 21:34:26 +0000 (16:34 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 9 Feb 2022 21:34:26 +0000 (16:34 -0500)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

services/fuse/arvados_fuse/__init__.py

index 9aabe85a2ae3de568ff2d7c9b3241ca8ac99400b..14dd7f3f85c229dd8c60b63766415957204ca850 100644 (file)
@@ -475,17 +475,6 @@ 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")