Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Cannot do a Get or Set to Bucket if One Node Stopped.

Received: by 10.66.86.39 with SMTP id m7mr4972221paz.4.1352482143519;
        Fri, 09 Nov 2012 09:29:03 -0800 (PST)
X-BeenThere: couchbase@googlegroups.com
Received: by 10.68.190.100 with SMTP id gp4ls16601854pbc.9.gmail; Fri, 09 Nov
 2012 09:29:02 -0800 (PST)
Received: by 10.66.86.102 with SMTP id o6mr4710146paz.41.1352482142949;
        Fri, 09 Nov 2012 09:29:02 -0800 (PST)
Received: by 10.66.86.102 with SMTP id o6mr4710145paz.41.1352482142937;
        Fri, 09 Nov 2012 09:29:02 -0800 (PST)
Return-Path: <mnunb...@haskalah.org>
Received: from mout.perfora.net (mout.perfora.net. [74.208.4.194])
        by gmr-mx.google.com with ESMTPS id uz6si6933424pbc.0.2012.11.09.09.29.02
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 09 Nov 2012 09:29:02 -0800 (PST)
Received-SPF: neutral (google.com: 74.208.4.194 is neither permitted nor denied by best guess record for domain of mnunb...@haskalah.org) client-ip=74.208.4.194;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 74.208.4.194 is neither permitted nor denied by best guess record for domain of mnunb...@haskalah.org) smtp.mail=mnunb...@haskalah.org
Received: from [10.0.0.99] (71-80-218-70.dhcp.crcy.nv.charter.com [71.80.218.70])
	by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis)
	id 0LwrfU-1THciy1q4u-016aJl; Fri, 09 Nov 2012 12:29:01 -0500
Message-ID: <509D3D67.9010503@haskalah.org>
Date: Fri, 09 Nov 2012 09:29:11 -0800
From: "M. Nunberg" <mnunb...@haskalah.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: couchbase@googlegroups.com
Subject: Re: Cannot do a Get or Set to Bucket if One Node Stopped.
References: <45724eef-77a7-4b43-9182-f60bd32ee68f@googlegroups.com>
In-Reply-To: <45724eef-77a7-4b43-9182-f60bd32ee68f@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:EqUqil4vzkQE0yDkGw1cdeLSMwlJtavmWFgBfHMddKV
 y4k5DNiE7rRhmtaK9B8bz6k+N3WBXOnG3ECN8TevU6C1NjYO7Z
 U27SoJTuf/Kjrlare91DykOgJm8c5mQrmrsXAG40dvEy4O6JCQ
 YWNTYW09yF8+3FIvUdNIOe2IWPwDxEVHL8ZVy/IXpgnsgPbJ6+
 SvsN4o6Ydlm4usNp9sxRSmaxFI1ICb4JVelYml3T+h6m1/yKDz
 tPsyFFqOF2Nax7+kelKdGkwCsDj5zXvl4HGierck7wylBLBXbp
 LI6pXBq9dbJIjKCkCuvbiTplLQpQcB8G9taG9hGMGOmQD4rUlo
 Xb6dE/kuxs3oVvuajGGg=

Hi, we're actually aware of this issue (this is a client-side issue 
specific to C#), and have a fix for this pending :).

In the meantime, I believe the .NET client allows you to specify a list 
of nodes to connect to; so just specify node A and node B in that list.

On 11/09/2012 08:43 AM, Matt M wrote:
> I set up Couchbase 1.8 cluster on two nodes Windows 2008 R2.
> Opened up all the necessary ports on the two servers as detailed on
> Couchbase documentation.
>
> I did a simple setup, initially creating Node A  on a new Cluster.
> Changed the IP Address to the Static IP Address as detailed on Couchbase
> documentation.
>
> Then installed Couchbase on Node B .
> Changed the IP Address to the Static IP Address as detailed on Couchbase
> documentation.
>
> Back on Node A, I added Node B to the cluster.
>
> Did the initial re-balance in the Couchbase web console.
>
> In the Couchbase console, I could then see the two nodes up and running.
>
> I created a simple app C# sample app to test as below:
>
> In the config file pointed to Node A
> In Code, Could then do a Get and Set with no issues (as expected).
>
> Then in my config file, changed to point to Node B.
> Could then do a Get
>
> On Node A, shut down the CouchBase service by running:
> service_stop.bat
> With my test app still pointing to Node B, could still get and set (as
> expected).
>
> On Node A, started the Couchbase Service by running, service_start.bat
> On Node B, shut down the CouchBase service by running, service_stop.bat
>
> Then in my config file, changed to point to Node A.
> Now when trying to do a Get and Set as below while connected to Node A
> Getting errors as below,
>
> Store operation failed, see InnerResult or StatusCode for details
> Failed to Execute Operation
> StatusCode  0
>
> Get failed. See InnerException or StatusCode for details
> StatusCode  Null
>
> Therefore to conclude.
> Can do a Get and Set with Node A and Node B are running. (with client
> connected to Node A or Node B)
> Can do a Get and Set With Node A stopped and Node B running. (with
> client connected to Node B)
> CANNOT do a Get and Set With Node A running and Node B stopped. (with
> client connected to Node A)
>
> Any ideas
>
> Thanks,
>
> Matt
>