Martin Weindel created CASSANDRA-6989:
-----------------------------------------

             Summary: TombstoneOverwhelmingException after inserting 1000 rows 
with many null values
                 Key: CASSANDRA-6989
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6989
             Project: Cassandra
          Issue Type: Bug
          Components: Core
         Environment: Cassandra 2.0.6, DataStax Java Driver 2.0.0
            Reporter: Martin Weindel
         Attachments: Main.java

See/use the attached Java class to reproduce the problem.

A table with 200 columns is created. For insertion a prepared statement is used 
which fills nearly all columns with null values.
After inserting 1000 rows (no update), a "select count(*)" fails with a 
TombstoneOverwhelmingException on server side.

If the prepared statement contains only the non-null columns, all works fine. 
For me it looks, as if inserting a column cell with null value creates a  
tombstone (but I don't know the internals of Cassandra). If you insert e.g. 
10000 rows with 11 columns with are null, you already hit the default 
tombstone_failure_threshold.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to