jerryshao commented on code in PR #13851:
URL: https://github.com/apache/gravitino/pull/13851#discussion_r4560473106
##########
clients/filesystem-hadoop3/src/main/java/org/apache/gravitino/filesystem/hadoop/BaseGVFSOperations.java:
##########
@@ -972,10 +972,31 @@ private Cache<FileSystemCacheKey, FileSystem>
newFileSystemCache(Configuration c
Map<String, String> getAllProperties(NameIdentifier filesetIdent) {
String catalogName = filesetIdent.namespace().level(1);
String schemaName = filesetIdent.namespace().level(2);
- Catalog catalog = getGravitinoClient().loadCatalog(catalogName);
- Schema schema = catalog.asSchemas().loadSchema(schemaName);
+ // Go through the metadata cache when it is enabled, so that an operation
does not reload the
Review Comment:
Catalog, schema and fileset properties (not just secrets) can now be stale
until the cache entry expires, whereas they were loaded fresh before. Is that
acceptable for the properties merged here, and is it worth noting in the cache
config docs?
--
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]