ModJS icon indicating copy to clipboard operation
ModJS copied to clipboard

Problem with master/master replication

Open thuroc opened this issue 4 years ago • 0 comments

Hi there,

is it possible that there is no support for a master/master replication in ModJS?

I've build a very simple script on two dockerized ModJS/Keydb systems with a pretty default master/master replication:

function setMyKey(k, v) { var r = keydb.call('set', k, v); return r } keydb.register(setMyKey);

If i run "setMyKey aaa 123", the key aaa is only avail on the node where i run the function and there is no replication activity on the network.

If i set a key manually on the keydb-cli with "set aaa 123", the replication work fine und i can get the key on the other node.

Has somebody an idea what the problem could be?

Thanks in advance Thuroc

thuroc avatar Aug 20 '20 14:08 thuroc