Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Cannot Reproduce
-
None
-
None
-
Normal
Description
When qsuper column for a particular key is being queried
using hector-core-0.8.0-2,
the data retrieved is inconsistent. I mean, for the key that I use to fetch
data, there are 7 sub columns actually. But the query returns 1 or 3 sub
columns depending on which nodes respond to it. (I tested by bringing down
each one of the three nodes in turn).
When I tried to fetch the data for the same key using cassandra-cli tool, I
get all the 7 sub columns for both the consistancy levels ONE and QUORUM.
Below is the code that I used to fetch data
superColumnQuery = HFactory.createSuperColumnQuery
(keyspaceOperator,
stringSerializer,
stringSerializer, stringSerializer, stringSerializer);
superColumnQuery.setColumnFamily(cfName).setKey
(key).setSuperName(scName);
result=superColumnQuery.execute();
superColumn=result.get();
columnList=superColumn.getColumns();