brucearctor commented on code in PR #13891:
URL: https://github.com/apache/gravitino/pull/13891#discussion_r4595237144


##########
clients/client-python/gravitino/filesystem/gvfs_base_operations.py:
##########
@@ -648,7 +671,11 @@ def _get_actual_filesystem_by_location_name(
         :param location_name: The location name, None means the default 
location
         :return: The actual filesystem
         """
-        fileset = self._get_fileset(fileset_ident)
+        catalog_ident = NameIdentifier.of(
+            fileset_ident.namespace().level(0), 
fileset_ident.namespace().level(1)
+        )
+        catalog = self._get_fileset_catalog(catalog_ident)
+        fileset = self._get_fileset(fileset_ident, catalog=catalog)

Review Comment:
   Addressed in ccdc38262 — restored the original 1-arg `_get_fileset(self, 
fileset_ident)` and 2-arg `_merge_fileset_properties(self, fileset_ident, 
actual_location)` calls in `_get_actual_filesystem_by_location_name`, passing 
preloaded catalog/fileset state via `threading.local()` and falling back to the 
client-backed fileset if a custom `_get_fileset` returns a metadata-only 
`FilesetDTO`. Added 
`test_operations_class_subclasses_with_legacy_signatures_and_exists` testing 
`gvfs.exists()` across both subclasses and both cache settings.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to