ka1serd0m opened a new issue, #9635:
URL: https://github.com/apache/gravitino/issues/9635

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   Inconsistent cache data and mysql data
   
   ### Error message and/or stacktrace
   
   no error msg
   
   ### How to reproduce
   
   tA:hive_catalog.default.my_table1
   tB:hive_catalog.default.my_table2
   
   1. start gravitino server
   2. add **tagA** to table `tA` by using 
**/metalakes/{metalake}/objects/{type}/{fullName}/tags** api
   3. use **/metalakes/{metalake}/tags/{tag}/objects ** query metaobjects 
associated tags.  **(correct, because query from mysql)**
   4. add **tagA** to table `tB` by **using 
/metalakes/{metalake}/objects/{type}/{fullName}/tags** api
   5. use **metalakes/{metalake}/tags/{tag}/objects** query metaobjects 
associated tags. **(incorrect,  because query from cache, but cache data only 
has `tA` record)**
   
   ### Additional context
   
   cache type: CaffeineEntityCache
   relationalBackend: mysql


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