from git :
PartitionLossPolicy partLossPlc = grp.config().getPartitionLossPolicy();
if (grp.needsRecovery() && !recovery) {
if (!read && (partLossPlc == READ_ONLY_SAFE || partLossPlc ==
READ_ONLY_ALL))
return new IgniteCheckedException("Failed to write to cache
(cache is moved to a read-only state): " +
cctx.name());
}
and in my config i setted :
.setPartitionLossPolicy(READ_ONLY_ALL)
/**
* All writes to the cache will be failed with an exception. All reads
will proceed as if all partitions
* were in a consistent state. The result of reading from a lost
partition is undefined and may be different
* on different nodes in the cluster.
*/
READ_ONLY_ALL,
What's the best configuration ?
IGNORE ?
i m going to test
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/