Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

We have an "cache" ( javax.cache.Cache ) implementation that is a wrapper of Hazelcast's IMap . We use a composite Object key.

We upgraded from version 3.12.5 to 5.1.1. When I deploy the system on a local Windows machine, all works well. But when I deploy the system into an Kubernetes environment , the map just "does not work". Values do not get persisted into the map (after a put operation). An Hazelcast cluster does get formed so it does not seem to be an auto discovery issue. I also have another K8S env in which it does work properly.

I enabled Hazelcast's diagnostic mode and it does not seem to show me anything useful. I do not get any error or warn messages from the com.hazelcast.* package. The same issue happened also when I tried version 4.x.

I am trying to explore ways which will help to the realise what is the issue here. Thank you.

How do you configure the client? Can the client read the values it is writing? Are you sure your client connects to the cluster you are monitoring? František Hartman Apr 25, 2022 at 11:26 I see, so what does Values do not get persisted into the map mean exactly? That members don't see the values they write? That other members don't see them? František Hartman Apr 25, 2022 at 12:14 I work with a single member (pod, node) in order to reduce the complexity of the problem. Yes, a member does not see the values that it wrote. Same happens in a configuration of 2 or 2 nodes/pods/members. Ido Gal Apr 25, 2022 at 12:15 Well, it looks like a misconfiguration on your application side, share your config, code how you create & access the cache etc. František Hartman Apr 25, 2022 at 13:47

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question . Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers .