Re: java driver : lisKeys() returned also deleted keys

2010-11-20 Thread Jon Brisbin
FWIW- I've been working on Riak support for the spring-data project, which is Spring's NoSQL abstraction that will support a whole slew of NoSQL databases. I'm using it as the basis for the Grails Gorm support for Riak, which I'm also writing. It has support for getting and setting POJOs and wha

Re: java driver : lisKeys() returned also deleted keys

2010-11-20 Thread Andrea Campolonghi
Andy, I am testing but the issue is that Riak really miss a valid java driver. The one I am using is fine but has great issue of memory leaks ... sometimes driver hangs ( riak is not even getting the connection ). I will restart my server test and try again Andrea 2010/11/20 Andrea Campolo

Re: java driver : lisKeys() returned also deleted keys

2010-11-20 Thread Andrea Campolonghi
Andy, great to know. So you know is there a way to get if this marker? Andrea 2010/11/20 Andy Gross > > Hi Andrea, > > Key deletion in Riak doesn't occur immediately in Riak - keys are first > marked with a tombstone marker and then reaped asynchronously. If you > insert a sleep between the

Re: java driver : lisKeys() returned also deleted keys

2010-11-20 Thread Andy Gross
Hi Andrea, Key deletion in Riak doesn't occur immediately in Riak - keys are first marked with a tombstone marker and then reaped asynchronously. If you insert a sleep between the delete() and keys() calls (try a few seconds) - does the test pass? - Andy On Sat, Nov 20, 2010 at 10:02 AM, Andr

java driver : lisKeys() returned also deleted keys

2010-11-20 Thread Andrea Campolonghi
I am having this issues with the java driver : https://github.com/krestenkrab/riak-java-pb-client After deleting a key the listKeys method still return it. The following test case put and delete one simple key and fails when counting the listKeys item. Any Suggestion? public class RiakCacheTe

Re: MapReduce filtering question

2010-11-20 Thread Sean Cribbs
On Nov 19, 2010, at 11:54 PM, Parker Thompson wrote: > Thanks, a few questions inline... > Responses inline. > On Fri, Nov 19, 2010 at 2:43 PM, Sean Cribbs wrote: > > class Riak::Alternative > include Ripple::Document > many :visitors, :class_name => "Riak::Visitor" > property :alternativ