Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91C8018BD5 for ; Fri, 7 Aug 2015 12:45:11 +0000 (UTC) Received: (qmail 5050 invoked by uid 500); 7 Aug 2015 12:45:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 5007 invoked by uid 500); 7 Aug 2015 12:45:07 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 4995 invoked by uid 99); 7 Aug 2015 12:45:07 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 12:45:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E6C44C0374 for ; Fri, 7 Aug 2015 12:45:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.899 X-Spam-Level: ** X-Spam-Status: No, score=2.899 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Roh2w3nBLHUp for ; Fri, 7 Aug 2015 12:44:51 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 845E242B41 for ; Fri, 7 Aug 2015 12:44:51 +0000 (UTC) Received: by iodd187 with SMTP id d187so110350407iod.2 for ; Fri, 07 Aug 2015 05:44:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PZh8Yb87/4b+tfaFuIG5zFPcxbMK0ddaVMtNe3cVYG0=; b=AEYxzNQ0RVq8uxVzg0qZOzVXCKx4bVr9Veql2mRVPUEYR1bTLMaczvdTgbmK9e8vmA 4PtH4H7L88etwLC1zTNb9skSIZCoEQJMlowug//fpaOe+rTn1mG7GpwoQW+nE7Lty1Xw cOawkvjVaphps9Y7EPs7x877jhA+zFJ4BmT8i2O192RJhe+X7dcZ8ndW/g2/B4uR3OY8 rYsR7YCBcGNnTev33n05XIwswbkDCsGimK580db1TjXOcKNGMCB5FT5c0f7Wuig+sRnU ttPBn7m86ykgE+njRN5B1jGlp4i7A9TSyi44H23YheYkx1no07lChhWHBURDvUpDmXlK PnEw== MIME-Version: 1.0 X-Received: by 10.107.32.147 with SMTP id g141mr7215116iog.86.1438951446120; Fri, 07 Aug 2015 05:44:06 -0700 (PDT) Received: by 10.36.66.12 with HTTP; Fri, 7 Aug 2015 05:44:06 -0700 (PDT) In-Reply-To: <8DD5BB98-F762-470D-BE36-7F773E11C629@crowdstrike.com> References: <8DD5BB98-F762-470D-BE36-7F773E11C629@crowdstrike.com> Date: Fri, 7 Aug 2015 14:44:06 +0200 Message-ID: Subject: Re: auto_bootstrap=false broken? From: horschi To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1141bb8acb8f30051cb7fd3e --001a1141bb8acb8f30051cb7fd3e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jeff, You=E2=80=99re trying to force your view onto an established ecosystem. > It is not my intent to force anyone to do anything. I apologize if my title was too provocative. I just wanted to clickbait ;-) It=E2=80=99s not =E2=80=9Cwrong only because its currently bootstrapping=E2= =80=9D, it=E2=80=99s not > bootstrapping at all, you told it not to bootstrap. > Let me correct myself. It should be: "its wrong because it isn't bootstrapped". But that does not change what I am proposing: It still should not serve reads. =E2=80=98auto_bootstrap=E2=80=99 is the knob that tells cassandra whether o= r not you want > to stream data from other replicas when you join the ring. Period. That= =E2=80=99s > all it does. If you set it to false, you=E2=80=99re telling cassandra it = already > has the data. The switch implies nothing else. There is no option to =E2= =80=9Cjoin > the ring but don=E2=80=99t serve reads until I tell you it=E2=80=99s read= y=E2=80=9D, and changing > auto-bootstrap to be that is unlikely to ever happen. > I know that it does only that. But I would have made a different design decision (to not serve reads in such a state). > Don=E2=80=99t want to serve reads? Disable thrift and native proto, start= the with > auto-bootstrap set to whatever you want but thrift and native proto > disabled, then enable thrift and native proto again to enable reads from > clients when ready. Until then, make sure you=E2=80=99re using a consiste= ncy level > appropriate for your requirements. > Of course it can be worked around. I just think its error prone to do that manually. That is why I was proposing a change. > You=E2=80=99re mis-using a knob that doesn=E2=80=99t do what you think it= does, and is > unlikely to ever be changed to do what you think it should. > I wanted to change the definition of what auto_bootstrap=3Dfalse is. I dont know if that makes it better or worse ;-) I hope I did not consume too much of your time. Thanks for all the responses. I will experiment a bit with write_survey and see if it already does what I need. kind regards, Christian --001a1141bb8acb8f30051cb7fd3e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Jeff,


You=E2=80=99re trying to force your view onto an established ecosystem. <= /div>
It is not my intent to force anyone to d= o anything. I apologize if my title was too provocative. I just wanted to c= lickbait ;-)


It=E2=80=99s not =E2=80=9Cwrong o= nly because its currently bootstrapping=E2=80=9D, it=E2=80=99s not bootstra= pping at all, you told it not to bootstrap.=C2=A0
Let me correct myself. It should be: "its wrong because it i= sn't bootstrapped". But that does not change what I am proposing: = It still should not serve reads.


=E2=80=98auto_bootstra= p=E2=80=99 is the knob that tells cassandra whether or not you want to stre= am data from other replicas when you join the ring. Period. That=E2=80=99s = all it does. If you set it to false, you=E2=80=99re telling cassandra it al= ready has the data. The switch implies nothing else. There is no option to = =E2=80=9Cjoin the ring but don=E2=80=99t serve reads until I tell you it=E2= =80=99s ready=E2=80=9D, and changing auto-bootstrap to be that is unlikely = to ever happen.=C2=A0
I know that it does = only that. But I would have made a different design decision (to not serve = reads in such a state).

=C2=A0
Don=E2=80=99t want to serve r= eads? Disable thrift and native proto, start the with auto-bootstrap set to= whatever you want but thrift and native proto disabled, then enable thrift= and native proto again to enable reads from clients when ready. Until then= , make sure you=E2=80=99re using a consistency level appropriate for your r= equirements.
Of course it can be worked ar= ound. I just think its error prone to do that manually. That is why I was p= roposing a change.

=C2=A0
You=E2=80=99re mis-using a knob = that doesn=E2=80=99t do what you think it does, and is unlikely to ever be = changed to do what you think it should.
I = wanted to change the definition of what auto_bootstrap=3Dfalse is. I dont k= now if that makes it better or worse ;-)


I hope I did not consume too much of your time. Thanks for all the re= sponses. I will experiment a bit with write_survey and see if it already do= es what I need.

kind regards,
Christian<= /div>

--001a1141bb8acb8f30051cb7fd3e--