Hazelcast的IMAP升级到K8S上的5.1.1后停止工作

发布于 2025-01-23 17:04:46 字数 448 浏览 1 评论 0原文

我们有一个“缓存”(javax.cache.cache)实现,它是Hazelcast的imap的包装器。我们使用复合对象密钥。

我们从版本3.12.5升级到5.1.1。当我在本地Windows机器上部署系统时,所有这些都可以很好地工作。但是,当我将系统部署到 kubernetes环境中时,地图“不起作用”。值不会持续到地图中(put操作之后)。 Hazelcast群集确实会形成,因此它似乎不是自动发现问题。我还有另一个K8S ENV,它确实可以正常工作。

我启用了Hazelcast的诊断模式,它似乎并没有向我展示任何有用的东西。我没有从com.hazelcast。*软件包中收到任何错误或警告。当我尝试4.x版时,同样的问题也发生了。

我正在尝试探索如何帮助意识到这里的问题。谢谢。

We have an "cache" (javax.cache.Cache) implementation that is a wrapper of Hazelcast's IMap. We use a composite Object key.

We upgraded from version 3.12.5 to 5.1.1. When I deploy the system on a local Windows machine, all works well. But when I deploy the system into an Kubernetes environment, the map just "does not work". Values do not get persisted into the map (after a put operation). An Hazelcast cluster does get formed so it does not seem to be an auto discovery issue. I also have another K8S env in which it does work properly.

I enabled Hazelcast's diagnostic mode and it does not seem to show me anything useful. I do not get any error or warn messages from the com.hazelcast.* package. The same issue happened also when I tried version 4.x.

I am trying to explore ways which will help to the realise what is the issue here. Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

九八野马 2025-01-30 17:04:46

事实证明这是一个错误。 Hazelcast建议改用0的值。

Turns out it is a bug. Hazelcast recommends to use the value of 0 instead.

清引 2025-01-30 17:04:46

我遇到了同样的问题,但是我从Hazelcast 3.11.1到5.1.2迁移,我在“ com.hazelcast.map”中找到了IMAP,而不是在“ com.hazelcast.core”中。

I had the same problem but i was migrating from hazelcast 3.11.1 to 5.1.2, I found the IMap in "com.hazelcast.map" not in "com.hazelcast.core"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文