Re: After column deletion cassandra won't insert more data to a specific key

2011-07-25 Thread Guillermo Winkler
I guess the problem it's not whether you can control time in a distributed system or not, but in this case at least, it's if you consider a timestamp set by a client outside the cluster as *safe*. When the timestamp gets hidden behind a client/wrapper library implementation default, realizing it's

Re: After column deletion cassandra won't insert more data to a specific key

2011-07-25 Thread aaron morton
It's just not possible to control time, as many super villains and Peter Schuller have shown us http://www.mail-archive.com/user@cassandra.apache.org/msg15636.html Often it's not necessary, you can design around simultaneous updates the same key, use a coordination layer such as zoo keeper or r

Re: After column deletion cassandra won't insert more data to a specific key

2011-07-25 Thread Guillermo Winkler
Hi, thanks both for the answers. The problem was indeed with the timestamps. What was happening also was that in a mutation involving 1 deletion and various insertions for the same key, all were using the same timestamp, so beside looking at the code doing this remove key insert key, col, val in

Re: After column deletion cassandra won't insert more data to a specific key

2011-07-24 Thread Edward Capriolo
Remember the cli uses microsecond precision . so if your app is not using the same precision weird this will result in clients writing the biggest timsetamp winning the final value. On Saturday, July 23, 2011, Jonathan Ellis wrote: > You must have given it a delete timestamp in the "future." > >

Re: After column deletion cassandra won't insert more data to a specific key

2011-07-23 Thread Jonathan Ellis
You must have given it a delete timestamp in the "future." On Sat, Jul 23, 2011 at 3:46 PM, Guillermo Winkler wrote: > I'm having a strange behavior on one of my cassandra boxes, after all > columns are removed from a row, insertion on that key stops working (from > API and from the cli) > [defau

Re: After column deletion cassandra won't insert more data to a specific key

2011-07-23 Thread Guillermo Winkler
Sorry, Cassandra version is 0.7.4 On Sat, Jul 23, 2011 at 5:46 PM, Guillermo Winkler wrote: > I'm having a strange behavior on one of my cassandra boxes, after all > columns are removed from a row, insertion on that key stops working (from > API and from the cli) > > [default@Agent] get Schedule

After column deletion cassandra won't insert more data to a specific key

2011-07-23 Thread Guillermo Winkler
I'm having a strange behavior on one of my cassandra boxes, after all columns are removed from a row, insertion on that key stops working (from API and from the cli) [default@Agent] get Schedulers['atendimento']; Returned 0 results. [default@Agent] set Schedulers['atendimento']['test'] = 'dd'; Val