follow up from #335 (comment), as suggested by @rtroilo
We should actually check the current cluster().state() and throw an exception right here if it is not in active or active_read_only state. Because in a case when the cluster is actually not active, there will be probably an exception on the first cache operation somewhere which would then be unexpected.
also perhaps to consider is if the (autoclosable) OSHDBIgnite class should (auto)close connections to Ignite when they are passed in as external already-existing connections from outside via the public OSHDBIgnite(org.apache.ignite.Ignite ignite) constructor.
follow up from #335 (comment), as suggested by @rtroilo
also perhaps to consider is if the (autoclosable)
OSHDBIgniteclass should (auto)close connections to Ignite when they are passed in as external already-existing connections from outside via thepublic OSHDBIgnite(org.apache.ignite.Ignite ignite)constructor.