jerryshao commented on issue #7787:
URL: https://github.com/apache/gravitino/issues/7787#issuecomment-3157777461
This implementation has another issue. If the entity is updated by `put`
operation, but it is still cached here, so calling this method will get the old
entity from cache and lead to error:
```
Optional<List<E>> entities = cache.getIfPresent(relType,
nameIdentifier, identType);
if (entities.isPresent()) {
return entities.get();
}
```
@Abyss-lord please take a look at this cache issue.
--
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]