Ye Liang created CASSANDRA-12767:
------------------------------------
Summary: Cassandra Java Driver insert using ifnotexist under
Protocol V3 work bad
Key: CASSANDRA-12767
URL: https://issues.apache.org/jira/browse/CASSANDRA-12767
Project: Cassandra
Issue Type: Bug
Environment: Cassandra 2.1.15
Cassandra Java Driver 3.1.0
Reporter: Ye Liang
Priority: Minor
When I use Cassandra Java Driver to connect a C* cluster with a Protocol
Version 3,such as :
Builder builder = Cluster.builder()..withProtocolVersion(ProtocolVersion.V3);
I insert some record to an exist table using ifnotexist,for example:
QueryBuilder.insertInto(xxx).ifNotExists();
Then,i will delete the record normally.
i do the two step over and over again
I find something strange to me :
insert and delete operation are always success(no exception and the response
looks ok).but before i delete the record,i use select statement to query my
record.when i insert the record for the first time i can always query my
record.but after that i seldom query my record success between insert and
delete.
I just use a single node cassandra cluster to exclude the effect of data
consistency.And when i use a Protocol Version 2,it works well,everytime i query
my record between insert and delete works
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)