cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: 'Tearing down' a test database
Date Wed, 24 Mar 2010 12:32:33 GMT
The 2nd insert needs to have a timestamp higher than the remove.

On Wed, Mar 24, 2010 at 7:10 AM, Philip Jackson <> wrote:
> Hi,
> Just trying out Cassandra (0.5), looks great so far but I've got a
> question about removing data:
> For my test suite I would like to be able to build-up data in the
> database and then have the test framework tear it all back down
> again. Trouble is, if I do a batch_insert, remove, batch_insert (of
> the same data) the second insert doesn't seem to work (though there's
> no exception). It's very possibly me doing something foolish, but does
> anyone else work with this sort of setup? Perhaps my problem sounds
> familiar?
> Cheers,
> Phil
> P.S The test instances will only ever be on one node and the data in
> them unimportant.

View raw message