LindaSummer commented on issue #7787:
URL: https://github.com/apache/gravitino/issues/7787#issuecomment-3175729062

   > 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](https://github.com/Abyss-lord) please take a look at this 
cache issue.
   
   Hi @jerryshao ,
   
   Should we always delete the cache without updating it until the first 
loading to keep it Idempotent?
   
   Best Regards,
   Edward


-- 
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