Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

SERVER_ERROR proxy write to downstream when 1 server is down

4 replies [Last post]
  • Login or register to post comments
Tue, 02/15/2011 - 10:54
membase_ktse
Offline
Joined: 02/15/2011
Groups: None

I was testing the case when 1 server is down.   I have created 2 membase servers, s1 and s2.   I did a "telnet s1 11211", and set key "k1" to "v1".   Everything seemed to be ok when I did a "get k1" from both s1 and s2.  Now I stop server s1 (service membase-server stop) , and on s2, I did a telnet and "get k1".  Now I got this "SERVER_ERROR proxy write to downstream" error.  

Top
  • Login or register to post comments
Tue, 02/15/2011 - 11:50
perry
Offline
Joined: 10/11/2010
Groups:

 Hi there, you will need to "failover" the server that is down in order to get access to its replica data.  Take a look at this wiki page to describe the reasoning behind this: http://wiki.membase.org/display/membase/Failover+with+Membase

 

Perry

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Tue, 02/15/2011 - 12:00
membase_ktse
Offline
Joined: 02/15/2011
Groups: None

 I see.  So according to http://wiki.membase.org/display/membase/Failover+with+Membase, we need to do a manual failover.  Automatic failover is not in 1.6.5 yet, is it correct?

Top
  • Login or register to post comments
Tue, 02/15/2011 - 12:56
perry
Offline
Joined: 10/11/2010
Groups:

 Correct.  We do have some plans for very basic automatic failover in 1.7, but in the end it is much better to have an external monitoring system (human or script) be able to evaluate the issue and make the right decision...which may actually be NOT to failover in certain cases.

__________________

Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!

Top
  • Login or register to post comments
Tue, 02/15/2011 - 17:38
membase_ktse
Offline
Joined: 02/15/2011
Groups: None

 Got it.  I did a manual failover, I don't see the SERVER_ERROR any more.  Thanks.

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