且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Hazelcast近缓存逐出不起作用

更新时间:2022-10-31 20:23:48

这显然是一个错误,是我从HZ团队得到的答案:

That's apparently a bug, the answer I got from HZ team:

感谢您报告此错误,确实这是3.7版本的错误. 3.8-EA没有这个问题. 问题的根本原因是,如果在其他成员上也未配置近乎缓存,则不会将无效消息发送给精简成员.

Thanks for reporting this, indeed it is a bug for 3.7 version. 3.8-EA don't have this issue. Root cause of the issue is invalidations are not sent to lite-members if near cache is not configured also on other members.

目前,作为一种变通办法,您可以在其他成员上启用Near缓存. 可能我们可以在下一个3.7补丁程序版本中解决此问题,该补丁程序将是 3.7.6.

For now, as a workaround you can enable near cache on other members. Possibly we can fix this issue in next 3.7 patch release which will be 3.7.6.

作为一种变通方法,如建议的那样,我已在其他成员上启用了近缓存(仅针对此地图),并且此问题得以解决.

As a workaround, as suggested, I've enabled near cache on the other members (only for this map) and it solved the problem.

https://github.com/hazelcast/hazelcast/issues/9723