我在以下java代码中创建了一个ignite缓存 .

CacheConfiguration cfg3 = new CacheConfiguration();
    cfg3.setCacheMode(CacheMode.REPLICATED);
    cfg3.setName("all_log");
    IgniteCache<String, String> cache3 = ig.getOrCreateCache(cfg3);

我有一个点燃集群,我试图在这里使用REST API gven修改点火缓存 . https://apacheignite.readme.io/docs/rest-api

我使用以下请求从缓存中删除了一个特定的密钥 . http://10.145.59.25:8080/ignite?cmd=rmv&key=updown&cacheName=all_log

但是,当我尝试使用以下命令从另一个服务器获取密钥时,该服务器是ignite集群的一部分:http://10.145.59.85:8080/ignite?cmd=get&key=updown&cacheName=all_log

我收到以下回复:

response    "| Log which shows the timestamps for change in up-down status of     shards\nDatabase initialised at Thu Jul 19 16:18:31 2018\n"

表示密钥存在 . get和put命令也存在同样的问题 . 当我将值放入给定缓存的密钥时,其值仅在http请求中提及的IP服务器中更改 .

但是,当我第一次将密钥放入缓存时,复制成功 .

编辑:::我使用http://10.145.59.85:8080/ignite?cmd=top&attr=true&mtr=true检查了点火拓扑

我发现一旦put请求完成,集群就会被分区 .