...
Code Block |
---|
BatchStatement batchStatement = new BatchStatement(BatchStatement.Type.UNLOGGED); |
There is 3 different types are presentBelow are the two batch types we executed for partial writes
LOGGED
UNLOGGED
In cassandra doc it specifies that to increase the performance UNLOGGED type should get usebe used.
With LOGGED type the data got inserted and updated after
WriteTimeoutException
.With UNLOGGED type the data got inserted and updated after
WriteTimeoutException
.
...