5

集群的缓存分区模式

 2 years ago
source link: https://www.oschina.net/question/4841357_2324669
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

集群的缓存分区模式

旋风龙 发布于 今天 09:11

在我的集群中我设置缓存为<property name="cacheMode" value="PARTITIONED"/>

备份设置为

<property name="backups" value="1"/>

在每个节点上执行完sql语句之后,关闭其中的一个节点那个节点上面的数据就消失了 而这个节点上的数据也没有备份

只要节点关闭 数据就会跟随节点的关闭消失 但是该节点上线后数据依然在 现在每个节点的数据只在本地

怎么防止节点关闭后其他节点上也没有此节点的数据 


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK