Re: why returned achievedConsistencyLevel is null

2018-08-25 Thread Andy Tolbert
Hi Vitaliy, That method (https://docs.datastax.com/en/latest-java-driver-api/com/datastax/driver/core/ExecutionInfo.html#getAchievedConsistencyLevel--) is a bit confusing as it will return null when your desired consistency level is achieved: > If the query returned without achieving the

why returned achievedConsistencyLevel is null

2018-08-24 Thread Vitaliy Semochkin
HI, While using DataStax driver session.execute("some insert query")getExecutionInfo().getAchievedConsistencyLevel() is already returned as null, despite data is stored. Why could it be? Is it possible to make DataStax driver throw an exception in case desired consistency level was not achieved