Hello,
I begin to think different... life cycle of CacheStore and life cycle of
Service may be absolutely different.
Service can be undeploy (like this
ignite.services().cancel(CacheStoreBackend.SERVICE_NAME)), when cache (with
store) continue existing.
In that case, I think, get service just in
I am going to file issue, also there is one point I want to clarify
before doing this: having already configured and run cluster, upon
deployments to a newly joined node, services and caches are started
independently, and creation of a cache store for a cache may occur
before all of the service
I think, you are right.
Could you plese create issue for Ignite in Apache Jira[1]?
Until you can to use something like this:
Ignite ig = Ignition.ignite();
backend = ig.services().service(CacheStoreBackend.SERVICE_NAME);
as workaround.
[1]: https://issues.apache.org/jira/secure/Dashboar