Re: Questions about weak reads

2009-12-09 Thread Sylvain Lebresne
On Wed, Dec 9, 2009 at 5:09 PM, Jonathan Ellis jbel...@gmail.com wrote: On Wed, Dec 9, 2009 at 9:37 AM, Sylvain Lebresne sylv...@yakaz.com wrote: But otherwise, the discrepancy between code and comments suggests that the code was changed. If so, what was the rational behind the change ? I'm

Re: Questions about weak reads

2009-12-09 Thread Jonathan Ellis
On Wed, Dec 9, 2009 at 10:33 AM, Sylvain Lebresne sylv...@yakaz.com wrote: Well, I just checkout from svn (svn checkout https://svn.apache.org/repos/asf/incubator/cassandra/trunk cassandra) Thanks, updated comments. In any case, at least for readRemote, why when the suitableEndpoint timeout

Re: Questions about weak reads

2009-12-09 Thread Jonathan Ellis
On Wed, Dec 9, 2009 at 11:01 AM, Sylvain Lebresne sylv...@yakaz.com wrote: And wouldn't it be possible/reasonable to do something like a strong read, but with a modified quorumResponseHandler that return from get() as soon as it gets an answer and do the responseResolver/read repair in the

Re: Questions about weak reads

2009-12-09 Thread Sylvain Lebresne
On Wed, Dec 9, 2009 at 6:04 PM, Jonathan Ellis jbel...@gmail.com wrote: On Wed, Dec 9, 2009 at 11:01 AM, Sylvain Lebresne sylv...@yakaz.com wrote: And wouldn't it be possible/reasonable to do something like a strong read, but with a modified quorumResponseHandler that return from get() as