Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

  1. LOGGED

  2. 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.

...