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 8044611008 for ; Tue, 16 Sep 2014 20:40:30 +0000 (UTC) Received: (qmail 55971 invoked by uid 500); 16 Sep 2014 20:40:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55930 invoked by uid 500); 16 Sep 2014 20:40:27 -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 55920 invoked by uid 99); 16 Sep 2014 20:40:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 20:40:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.briggs@yahoo.com designates 216.109.115.156 as permitted sender) Received: from [216.109.115.156] (HELO nm48-vm1.bullet.mail.bf1.yahoo.com) (216.109.115.156) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 20:39:58 +0000 Received: from [98.139.215.143] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 16 Sep 2014 20:39:57 -0000 Received: from [98.139.212.205] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 16 Sep 2014 20:39:57 -0000 Received: from [127.0.0.1] by omp1014.mail.bf1.yahoo.com with NNFMP; 16 Sep 2014 20:39:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 454725.20449.bm@omp1014.mail.bf1.yahoo.com Received: (qmail 6439 invoked by uid 60001); 16 Sep 2014 20:39:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1410899997; bh=E40GhbIPaTc+sQDipKB4DsDXQE9e+qpheV/94XW4o9s=; h=References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=wO0CHZqJwq/uD4/uUWDstkOXb/NcTgbpt4PV4ahxNNZ4F/EoNGR7sLRt92FdMRZzAOr4yUMZA0pQgrZfl4iIefhyKmnSSB8K8QxuJEFovlCvSRry6lsch8Y2GXSZfA0Zc9pahPa1I0vE6cIMqIVO9s7SRB0LfC+03y6GUyi9GUo= X-YMail-OSG: kqU1dTwVM1n48QEtsliOBi1yUpM4nKDYnci6B_TpVCMf3wB LfFLK4J96SWQovpp_7azdwchryVxj_0jvpilGnd8xXc929Ks9bu65FXxCuKO UrcYLW_E3y.VMs7uSuyMUZiS8A7DjweFBIgXNaLWgXgDkACFi6UUeMNKooP0 5DV2jEm4Ei64_4Isds8GQV8rWLh.0kNB4QDtwR57J5T.K5hM58pbz.9F4hc1 rleFLYg7GBO0unmAuhVqCP0faz_i73ZnHCis1EaAMybx0dvmxANqVXwjcMJt ST3l0hjZUxewe9r04ntijwulFUiyJ0nyf0oo2JOf7D_2tuKc150F5v5aLCBe oKdV3SCowoJ3y2xgjjQ2URi3CDk93FaIdGH6ft6zVeiMCPSk0t.ZospKr7ja onxgrgCckvi2PJb0B6U.iPY5aA7mGfsfZ9B21SuHAsBCUuBPk4pdcrmsx7Tg jsIf.tEZD7xh.uf6KlcgLzusPhsVomDmLTA2cPYyzB8k7XcepK8SWq_gsQaa 18X8ZMpNRWaF2CXd29_Gvo_34ZYaeTnyNCNZERiYWaZAIgXCVQdIfDjagfA- - Received: from [67.174.240.192] by web140702.mail.bf1.yahoo.com via HTTP; Tue, 16 Sep 2014 13:39:57 PDT X-Rocket-MIMEInfo: 002.001,SGkgUm9iZXJ0LgoKSSBqdXN0IGRpZCBhIHRlc3QgKHNodXRkb3duIGFsbCBub2Rlcywgc3RhcnQgb25lIG5vbi1zZWVkIG5vZGUuKQoKCllvdSdyZSBjb3JyZWN0IHRoYXQgYW4gb2xkIG5vbi1zZWVkIG5vZGUgY2FuIHN0YXJ0IGJ5IGl0c2VsZi4KClNvIHN0YXJ0dXAgc2NyaXB0cyBkb24ndCBoYXZlIHRvIGJlIGludGVsbGlnZW50LCBidXQgYXBwcyBuZWVkIHRvIHdhaXQKCnVudGlsIHRoZXJlJ3MgZW5vdWdoIG5vZGVzIHVwIHRvIHNlcnZlIHRoZSB3aG9sZSBrZXlzcGFjZToKCmNxbHNoOm15X2tleXNwYWMBMAEBAQE- X-Mailer: YahooMailWebService/0.8.203.696 References: <54187CE0.7080501@gmail.com> <1410895305.36728.YahooMailNeo@web140705.mail.bf1.yahoo.com> Message-ID: <1410899997.91312.YahooMailNeo@web140702.mail.bf1.yahoo.com> Date: Tue, 16 Sep 2014 13:39:57 -0700 From: James Briggs Reply-To: James Briggs Subject: Re: Blocking while a node finishes joining the cluster after restart. To: "user@cassandra.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-589800495-1243999026-1410899997=:91312" X-Virus-Checked: Checked by ClamAV on apache.org ---589800495-1243999026-1410899997=:91312 Content-Type: text/plain; charset=us-ascii Hi Robert. I just did a test (shutdown all nodes, start one non-seed node.) You're correct that an old non-seed node can start by itself. So startup scripts don't have to be intelligent, but apps need to wait until there's enough nodes up to serve the whole keyspace: cqlsh:my_keyspace> consistency Current consistency level is ONE. cqlsh:my_keyspace> select * from numbers where v=1; v --- 1 (1 rows) cqlsh:my_keyspace> select * from numbers where v=2; Unable to complete request: one or more nodes were unavailable. Thanks, James. -- Cassandra/MySQL DBA. Available in San Jose area or remote. ---589800495-1243999026-1410899997=:91312 Content-Type: text/html; charset=us-ascii
Hi Robert.

I just did a test (shutdown all nodes, start one non-seed node.)

You're correct that an old non-seed node can start by itself.

So startup scripts don't have to be intelligent, but apps need to wait
until there's enough nodes up to serve the whole keyspace:

cqlsh:my_keyspace> consistency
Current consistency level is ONE.

cqlsh:my_keyspace> select * from numbers where v=1;

 v
---
 1

(1 rows)

cqlsh:my_keyspace> select * from numbers where v=2;
Unable to complete request: one or more nodes were unavailable.

Thanks, James. 
-- 
Cassandra/MySQL DBA. Available in San Jose area or remote.

---589800495-1243999026-1410899997=:91312--