You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2014/04/07 17:26:17 UTC

[jira] [Resolved] (CASSANDRA-6989) TombstoneOverwhelmingException after inserting 1000 rows with many null values

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

Jonathan Ellis resolved CASSANDRA-6989.
---------------------------------------

    Resolution: Not a Problem

bq. it looks as if inserting a column cell with null value creates a tombstone

Correct.

> 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)