Running cassandra across nat?

2013-03-10 Thread Илья Шипицин
Hello! Is it possible to run cluster in 2 datacenters which are not routable? Each datacenter is running its own lan prefixes, however lan are not routable across datacenters. Cheers, Ilya Shipitsin

Re: Running cassandra across nat?

2013-03-10 Thread Edward Capriolo
In some cases you can do this using the broadcast address, which is different then the listen and rpc address. But if nothing is route-able ie NAT I do not think it is possible. On Sun, Mar 10, 2013 at 10:05 AM, Илья Шипицин wrote: > Hello! > > Is it possible to run cluster in 2 datacenters whic

Quorum read after quorum write guarantee

2013-03-10 Thread André Cruz
Hello. In my application it sometimes happens that I execute a multiget (I use pycassa) to fetch data that I have just inserted. I use quorum writes and reads, and my RF is 3. I've noticed that sometimes (1 in 1000 perhaps) an insert followed (300ms after) by a multiget will not find the just

Re: Quorum read after quorum write guarantee

2013-03-10 Thread Dave Brosius
is the read and write happening on the same thread? On 03/10/2013 12:00 PM, André Cruz wrote: Hello. In my application it sometimes happens that I execute a multiget (I use pycassa) to fetch data that I have just inserted. I use quorum writes and reads, and my RF is 3. I've noticed that some

Re: Quorum read after quorum write guarantee

2013-03-10 Thread Chuan-Heng Hsiao
Hi André, I am just a user of cassandra and did not look into the code deeply. However, my guess is that cassandra only guarantee that if you successfully write and you successfully read, then quorum will give you the latest data. not finding the just inserted data may be due to the failure of s

Re: Quorum read after quorum write guarantee

2013-03-10 Thread André Cruz
Yes, same thread. Cassandra 1.1.5 btw. Sent from my iPhone On 10/03/2013, at 16:47, Dave Brosius wrote: > is the read and write happening on the same thread? > > On 03/10/2013 12:00 PM, André Cruz wrote: >> Hello. >> >> In my application it sometimes happens that I execute a multiget (I use

Re: Quorum read after quorum write guarantee

2013-03-10 Thread André Cruz
On 10/03/2013, at 16:49, Chuan-Heng Hsiao wrote: > However, my guess is that cassandra only guarantee that > if you successfully write and you successfully read, then quorum will > give you the latest data. That's what I thought, but that's not what I'm seeing all the time. I have no errors read