yuqi1129 commented on code in PR #8695:
URL: https://github.com/apache/gravitino/pull/8695#discussion_r2385170158
##########
core/src/main/java/org/apache/gravitino/cache/CaffeineEntityCache.java:
##########
@@ -303,8 +303,6 @@ protected void invalidateExpiredItem(EntityCacheKey key) {
* @param newEntities The new entities to sync to the cache.
*/
private void syncEntitiesToCache(EntityCacheRelationKey key, List<Entity>
newEntities) {
- if (key.relationType() != null) return;
Review Comment:
I can assure you that this is specifically designed in the current code
base. If we enable caching data for relational operations, something will be
wrong with the current cache layer.
--
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]