Setup:
- discriminator-based multi tenancy
- Most of the entities have
@TenantIdmapped field - A few entities are “global”, i.e. do not have tenant identifier field
- Most of the entities have
use_second_level_cache: true
When one of the tenants modifies a “global” entity - the other tenants still see a previous version of the data until second level cache for that entity expires for the other tenants.
May I be missing something in my setup or do I need to somehow explicitly reset the cache for all tenants in such cases?