Asynchronous setup settings

25 views
Skip to first unread message

Tobie Morgan Hitchcock

unread,
Apr 21, 2015, 12:15:13 PM4/21/15
to orient-...@googlegroups.com
Hi,

I was wondering what the difference is between the following settings in the default-distributed-db-config.json file:

{
    "executionMode": "undefined",
    "readQuorum": 1,
    "writeQuorum": 1,
}

or

{
    "executionMode": "asynchronous",
    "readQuorum": 1,
    "writeQuorum": 2,
}

Obviously they will both return immediately after writing to each local node (instead of waiting for other nodes in the quorum) but are there any other differences?

Thanks!

Simon Gemmell

unread,
Apr 22, 2015, 6:02:17 AM4/22/15
to orient-...@googlegroups.com
Yes in async mode the quorum still has to be reached, so if the quorum is not reached your value is overriden.

So depending on your setup both write but have no guarantee that it will stay written.
Reply all
Reply to author
Forward
0 new messages