Skip to content

Problem with master/master replication #1

@thuroc

Description

@thuroc

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions