Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3360

Read data inconsistancy in Cassandra 1.0.0-rc2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • Legacy/CQL
    • 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();

      Attachments

        Activity

          People

            Unassigned Unassigned
            gopalakrishnan.r Gopalakrishnan Rajagopal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: