# Cache inconsistency in cluster mode

**URL:** <https://forum.keycloak.org/t/cache-inconsistency-in-cluster-mode/18738>\
**Category:** Configuring the server\
**Created:** [December 1, 2022, 1:11pm UTC](https://forum.keycloak.org/t/cache-inconsistency-in-cluster-mode/18738 "2022-12-01T13:11:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amir4895](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/amir4895/32/7145_2.png) [@amir4895](https://forum.keycloak.org/u/amir4895)\
**Post date:** [December 1, 2022, 1:11pm UTC](https://forum.keycloak.org/t/cache-inconsistency-in-cluster-mode/18738/1 "2022-12-01T13:11:48Z")

</div>

hi guys.  
im having an issue that seems to be originated from the caching mechanism in keycloak or probably in some configuration I made wrong.

my deployment is in k8s with 3 pods for KC , im upgrading from old version of KC to 18 ,  
and i’m getting inconsist data from the pods, the strange issue is that when querying the DB the data seems good,  
the only thing I think about is bad configuration of the cache or maybe some know issue in KC+infinispan

can someone please help \ shade some light \ refer to similar issue which i didnt find ?  
tnx a lot
