cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Vawter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-7867) Added column does not sort as the last column
Date Wed, 03 Sep 2014 12:21:51 GMT
Bob Vawter created CASSANDRA-7867:
-------------------------------------

             Summary: Added column does not sort as the last column
                 Key: CASSANDRA-7867
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7867
             Project: Cassandra
          Issue Type: Bug
         Environment: 6-node Cassandra 2.0.9 with r=3

java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Linux 3.10.40-50.136.amzn1.x86_64 #1 SMP Tue May 13 21:35:08 UTC 2014 x86_64 x86_64 x86_64
GNU/Linux

Client is using DataStax java client v2.0.3
            Reporter: Bob Vawter


This appears to be a stack trace distinct from that in CASSANDRA-5856.

{panel}
java.lang.AssertionError: Added column does not sort as the last column
        at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:115)
        at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:116)
        at org.apache.cassandra.service.pager.AbstractQueryPager.discardHead(AbstractQueryPager.java:319)
        at org.apache.cassandra.service.pager.AbstractQueryPager.discardLast(AbstractQueryPager.java:301)
        at org.apache.cassandra.service.pager.AbstractQueryPager.discardFirst(AbstractQueryPager.java:219)
        at org.apache.cassandra.service.pager.AbstractQueryPager.discardFirst(AbstractQueryPager.java:202)
        at org.apache.cassandra.service.pager.AbstractQueryPager.fetchPage(AbstractQueryPager.java:124)
        at org.apache.cassandra.service.pager.SliceQueryPager.fetchPage(SliceQueryPager.java:35)
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:236)
        at org.apache.cassandra.cql3.statements.SelectStatement.execute(SelectStatement.java:61)
        at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:158)
        at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:175)
        at org.apache.cassandra.transport.messages.QueryMessage.execute(QueryMessage.java:119)
        at org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:304)
        at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
        at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
{panel}

The underlying table is an append-only event log and is usually being queried in descending
ts order:

{panel}
CREATE TABLE ledger (
  id blob,
  ts timeuuid,
  data text,
  json_key text,
  type text,
  PRIMARY KEY ((id), ts)
) WITH
  bloom_filter_fp_chance=0.010000 AND
  caching='KEYS_ONLY' AND
  comment='' AND
  dclocal_read_repair_chance=0.100000 AND
  gc_grace_seconds=864000 AND
  index_interval=128 AND
  read_repair_chance=0.000000 AND
  replicate_on_write='true' AND
  populate_io_cache_on_flush='false' AND
  default_time_to_live=0 AND
  speculative_retry='99.0PERCENTILE' AND
  memtable_flush_period_in_ms=0 AND
  compaction={'class': 'SizeTieredCompactionStrategy'} AND
  compression={'sstable_compression': 'LZ4Compressor'};
{panel}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message