Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Clients fail if first node in node list has been removed from cluster

2 replies [Last post]
  • Login or register to post comments
Tue, 03/19/2013 - 17:55
wintrmute
Offline
Joined: 06/19/2012
Groups: None

Hi,
I'm seeing a problem with both the Perl and Ruby clients, against Couchbase 2.0.0.
If I remove one node from the cluster via the GUI (Remove, then Rebalance), then all clients who had listed that node as the first in their node list will now fail to connect.
Note that clients which *are already connected* are fine. The problem is when a new worker process fires up and tries to connect. I am guessing it hits the removed node, who accepts the connection on port 8091 but reports that it isn't responsible for any buckets in that cluster. It sounds like the clients should really be reading that error as a sign to try another host in the cluster, rather than a total failure.

The Perl client reports "Temporary failure. Try again later".
The Ruby client reports:
/var/lib/gems/1.9.1/gems/couchbase-1.2.2/lib/couchbase.rb:59:in `initialize': HTTP/1.1 404 Obj (Couchbase::Error::BucketNotFound)

Top
  • Login or register to post comments
Wed, 03/20/2013 - 18:26
wintrmute
Offline
Joined: 06/19/2012
Groups: None

I have filed this issue: http://www.couchbase.com/issues/browse/CCBC-192

Top
  • Login or register to post comments
Fri, 03/22/2013 - 01:06
tgrall
Offline
Joined: 09/05/2012
Groups: None

Thanks for capturing this

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker