incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike dooley <doo...@apple.com>
Subject Re: can't re-insert row after deleting it?
Date Thu, 30 Dec 2010 03:58:22 GMT
sorry, i forgot to mention that i am using 0.7-rc2

On Dec 29, 2010, at 7:56 PM, mike dooley wrote:

> things have not been going very well for me today, so maybe there's something
> that i'm missing, but here is a little test program that just:
> 
> 1) inserts a single column in a row,
> 2) deletes the row,
> 3) re-inserts the row
> 
> but it seems that the second insert fails to actually insert the data. here is the output
> of the test program
> 
> === starting
> === inserting row: row-a, value: value-a
> === about to retrieve data
> === got (dummy-col,value-a)
> === deleting row: row-a
> === data not found, as expected
> === re-inserting row: row-a
> === !!!! re-inserted data not found
> === crush all boxes
> 
> and subsequent inserts also fail (if you run the program again).
> 
> here is the test program
> 
> <CClient.java>
> 
> i am just using a single node, with the following schema
> 
>  create keyspace Harvest with replication_factor = 1 and placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy';
>  use Harvest;
>  create column family Test1 with column_type = 'Standard' and comparator = 'UTF8Type';
> 
> thanks in advance.
> -mike


Mime
View raw message