Re: Ability to override CL during transactions?

Keith Lohnes <loh...@...>

These types of questions should be directed janusgraph-users group.!forum/janusgraph-users

On Thu, Jan 11, 2018 at 2:53 PM <bdi...@...> wrote:
We have ability to specify consistency levels while opening the connection to the graph.

Transaction is created in thread scope with the first graph operation. 
Is there a way to override the consistency levels specified while opening the graph during beginning of the thread local transaction?

Something like following:

//Automatically opens a new transaction, is there a way to set R/W CL=QUORUM?
v1=juno = graph.addVertex()"k1", "v1");
graph.tx().commit() //Ends transaction

try {
//Automatically opens a new transaction, is there a way to set R/W CL=LOCAL_QUORUM?
    if (!g.V().has("k2", "v2").iterator().hasNext()) {
v2 = graph.addVertex()"k2", "v2")
} catch (Exception e) {


You received this message because you are subscribed to the Google Groups "JanusGraph developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgr...@....
To view this discussion on the web visit
For more options, visit

Join { to automatically receive all group messages.