cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom van den Berge <...@drillster.com>
Subject Re: How to prevent queries being routed to new DC?
Date Mon, 07 Sep 2015 20:01:31 GMT
NetworkTopologyStrategy

On Mon, Sep 7, 2015 at 4:39 PM, Ryan Svihla <rs@foundev.pro> wrote:

> What's your keyspace replication strategy?
>
> On Thu, Sep 3, 2015 at 3:16 PM Tom van den Berge <
> tom.vandenberge@gmail.com> wrote:
>
>> Thanks for your help so far!
>>
>> I have some problems trying to understand the jira mentioned by Rob :(
>>
>> I'm currently trying to set up the first node in the new DC with
>> auto_bootstrap = true. The node then becomes visible with status "joining",
>> which (hopefully) prevents other DCs from sending queries to it.
>>
>> Do you think this will work?
>>
>>
>>
>> On Thu, Sep 3, 2015 at 9:46 PM, Robert Coli <rcoli@eventbrite.com> wrote:
>>
>>> On Thu, Sep 3, 2015 at 12:25 PM, Bryan Cheng <bryan@blockcypher.com>
>>> wrote:
>>>
>>>> I'd recommend you enable tracing and do a few queries in a controlled
>>>> environment to verify that queries are being routed to your new nodes.
>>>> Provided you have followed the procedure outlined above (specifically, have
>>>> set auto_bootstrap to false in your new cluster), rebuild has not been run,
>>>> the application is not connecting to the new cluster, and all your queries
>>>> are run at LOCAL_* quorum levels, I do not believe those queries should be
>>>> routed to the new dc.
>>>>
>>>
>>> Other than CASSANDRA-9753, this is true.
>>>
>>> https://issues.apache.org/jira/browse/CASSANDRA-9753 (Unresolved; ):
>>> "LOCAL_QUORUM reads can block cross-DC if there is a digest mismatch"
>>>
>>> =Rob
>>>
>>>
>> --
> Regards,
>
> Ryan Svihla




-- 
Tom van den Berge
Lead Software Engineer
 [image: Drillster] Middenburcht 136
3452 MT Vleuten
Netherlands+31 30 755 53 30
www.drillster.com [image: Follow us on Facebook] Follow us on Facebook
<https://www.facebook.com/Drillster>

Mime
View raw message