[ 
https://issues.apache.org/jira/browse/CASSANDRA-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McGuire reassigned CASSANDRA-6536:
---------------------------------------

    Assignee: Russ Hatch  (was: Ryan McGuire)

Russ, can you reproduce this? If so, let's create a dtest for it.

> SStable gets corrupted after keyspace drop and recreation
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-6536
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6536
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 1.2.12 & 1.2.13
>            Reporter: Dominic Letz
>            Assignee: Russ Hatch
>
> ERROR [ReadStage:41] 2014-01-02 14:27:00,629 CassandraDaemon.java (line 191) 
> Exception in thread Thread[ReadStage:41,5,main]
> java.lang.RuntimeException: 
> org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.IOException: 
> Corrupt (negative) value length encountered
> When running a test like this the SECOND TIME:
> DROP KEYSPACE testspace;
> CREATE KEYSPACE testspace with REPLICATION = {'class':'SimpleStrategy', 
> 'replication_factor':1} AND durable_writes = false;
> USE testspace;
> CREATE TABLE testtable (id text PRIMARY KEY, group text) WITH compression = 
> {'sstable_compression':'LZ4Compressor'};
> CREATE INDEX testindex ON testtable (group);
> INSERT INTO testtable (id, group) VALUES ('00001', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00002', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00003', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00004', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00005', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00006', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00007', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00008', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00009', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00010', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00011', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00012', 'gamma');
> INSERT INTO testtable (id, group) VALUES ('00013', 'delta');
> INSERT INTO testtable (id, group) VALUES ('00014', 'epsilon');
> INSERT INTO testtable (id, group) VALUES ('00015', 'alpha');
> INSERT INTO testtable (id, group) VALUES ('00016', 'beta');
> INSERT INTO testtable (id, group) VALUES ('00017', 'gamma');
> ... 
> INSERT INTO testtable (id, group) VALUES ('100000', 'alpha');
> SELECT COUNT(*) FROM testspace.testtable WHERE group = 'alpha' LIMIT 100001;



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to