Bret McGuire created CASSJAVA-118:
-------------------------------------
Summary: BatchGraphStatement documentation page of DSE Java Driver
needs update
Key: CASSJAVA-118
URL: https://issues.apache.org/jira/browse/CASSJAVA-118
Project: Apache Cassandra Java driver
Issue Type: Improvement
Components: Core
Reporter: Bret McGuire
[https://docs.datastax.com/en/drivers/java/latest/com/datastax/dse/driver/api/core/graph/BatchGraphStatement.html]
{quote}All the mutations grouped in the batch will either all succeed, or they
will all be discarded and return an error.
{quote}
This statement is wrong after the implementation of Core engine in DSE Graph.
It holds TRUE only for the Classic engine.
In the Core engine, commit happens after each traversal and there is no kind of
rollback mechanism written. So, if a failure happens in the middle, all the
previously executed commands wouldn’t be rolled back even if the request is via
BatchGraphStatement. The mutations need to be manually cleared if required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]