Skip to content

[Bug report] Cache data inconsistent, when use tag #9635

@ka1serd0m

Description

@ka1serd0m

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

Metadata

Metadata

Assignees

Labels

1.1.1Release v1.1.11.2.0Release v1.2.0bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions