dyno icon indicating copy to clipboard operation
dyno copied to clipboard

First one of two hsetnx not work as expected.

Open phantomblue opened this issue 8 years ago • 2 comments

In following code, I insert two item into hashset using dyno client to redis through dynomite. I have two JVM running in different machines,each use a dyno client to communicate with redis. Usually it works fine. But today, both setnx works without problem, but I can only found updated content in BUILD_INFO of second hsetnx. Seems the first hsetnx did not took effect. But the dynoClient.hgetAll(BUILD_ID) can get updated content, but I can not found it on redis server. I actually using redis-cli connect to redis through dynomite, can only found updated content in BUILD_INFO, but no update for BUILD_ID

dynoClient.hsetnx(BUILD_ID, buildUniqueKey, result); logger.info(String.format("After add: %s",dynoClient.hgetAll(BUILD_ID))); dynoClient.hsetnx(BUILD_INFO, buildUniqueKey, json);

phantomblue avatar Jul 28 '17 07:07 phantomblue

Btw: I am using dyno 1.5.6

phantomblue avatar Jul 28 '17 07:07 phantomblue

It seems it took so much time to check this issue. If you still care about it, there are many issues that may have happened. Can you give more details on how many Dynomite nodes you have deployed? For example, there might be entropy on the system or something else.

ipapapa avatar Aug 30 '18 01:08 ipapapa