原因调查ignite failed to wirte (cache is moved to a read-only state)

如图,请解答。
在往ignite的cache里写入数据的时候,发生了如标题一般的read-only 故障,有懂得大神请回答,速度越快越好,答的好加钱。

参考这个: 性能和故障排除 | Apache Ignite技术服务 apache ignite,ignite中文,ignite官网,内存数据库,分布式数据库 https://www.ignite-service.cn/doc/java/PerformanceTroubleshooting.html#_1-%E5%B8%B8%E8%A7%84%E6%80%A7%E8%83%BD%E6%8F%90%E7%A4%BA

貌似是恢复的时候,只读属性的缓存被删除了,无法恢复。
if (cctx.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());
}

public Throwable validateCache(GridCacheContext cctx, boolean recovery, boolean read, @Nullable Object key, @Nullable Collection<?> keys) {
    assert isDone() : this;
    Throwable err = error();
    if (err != null)
        return err;
    if (!cctx.shared().kernalContext().state().active())
        return new CacheInvalidStateException("Failed to perform cache operation (cluster is not activated): " + cctx.name());
    PartitionLossPolicy partLossPlc = cctx.config().getPartitionLossPolicy();
    if (cctx.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());
    }
    if (cctx.needsRecovery() || cctx.config().getTopologyValidator() != null) {
        CacheValidation validation = cacheValidRes.get(cctx.cacheId());
        if (validation == null)
            return null;
        if (!validation.valid && !read)
            return new IgniteCheckedException("Failed to perform cache operation " + "(cache topology is not valid): " + cctx.name());
        if (recovery || !cctx.needsRecovery())
            return null;
        if (key != null) {
            int p = cctx.affinity().partition(key);
            CacheInvalidStateException ex = validatePartitionOperation(cctx.name(), read, key, p, validation.lostParts, partLossPlc);
            if (ex != null)
                return ex;
        }
        if (keys != null) {
            for (Object k : keys) {
                int p = cctx.affinity().partition(k);
                CacheInvalidStateException ex = validatePartitionOperation(cctx.name(), read, k, p, validation.lostParts, partLossPlc);
                if (ex != null)
                    return ex;
            }
        }
    }
    return null;
}

望采纳,谢谢。https://ignite.apache.org/docs/latest/key-value-api/transactions