Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with master/master replication #1

Open
thuroc opened this issue Aug 20, 2020 · 0 comments
Open

Problem with master/master replication #1

thuroc opened this issue Aug 20, 2020 · 0 comments

Comments

@thuroc
Copy link

thuroc commented Aug 20, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant