I have two instances of Infinispan replicated in two Kubernetes pods. In Infinispan, I have one replicated cache C on both the instances.
When I use the Infinispan Java API removeCache()
on the cache C from an external Java application (registered to the C cache), I see that just 1/2 Infinispan pods remove that cache, while the other pod still contains it (and then, the application points now to that remaining replica).
Is there a way to delete all the replicated caches through an Infinispan Java API? Or, a way to sync this API call through all the replicated caches?