We are using Apache Ignite for caching and during testing i came accross this error
java.lang.IllegalStateException: Cache has been closed or destroyed
We have a Spring Restful client with IGNITE embedded inside. Calls come to update and remove from cache.
The Steps that happened are as follow
- One instance of Ignite server running.
- one instance of Restful client running on different server with Ignite Embedded.
- Killed the Ignite server instance, client still running
- Ignite server restarted.
- Any attempt by client to put a value in the cache leads to above exception.
- If Client is restarted everything works as normal
Can some one throw some insight as in why this is happening. Do i have to handle that event of all nodes leaving and manually evict cache or something.
Any help is appeciated