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

flush_all Server Error

3 replies [Last post]
  • Login or register to post comments
Mon, 08/06/2012 - 02:44
crowdpark
crowdpark's picture
Offline
Joined: 07/25/2012
Groups: None

SERVER_ERROR flush_all not supported

why?

Top
  • Login or register to post comments
Mon, 08/06/2012 - 15:54
mikew
Offline
Joined: 03/14/2011
Groups:

For various reasons flush all being an asynchronous command doesn't work very well when you have persistence. Over time we found rare, but potentially bad bugs that were caused by flush all. As a result we have disabled the feature by default and recommended that users simply delete and recreate buckets instead of using flush all.

If you have a pre-existing application or you find it easier to use flush all then to delete and recreate a bucket then you can enable the feature.

./cbflushctl localhost:11210 set flushll_enabled true

Top
  • Login or register to post comments
Thu, 08/16/2012 - 03:00
dvkarteek
Offline
Joined: 08/16/2012
Groups: None

Hi Mike,

I am using a 3 server cluster. When i did flush_all, I got the above mentioned error first and then i enabled it on each of the servers using the above command. But still im getting the "SERVER_ERROR flush_all not supported" when i try to do flush_all through command line. Do i need to bounce the servers for the change to take effect? Please help.

Top
  • Login or register to post comments
Thu, 08/16/2012 - 23:18
mikew
Offline
Joined: 03/14/2011
Groups:

I'm not sure what you mean by bounce all of the servers, but when you use the command I posted above you need to run the command separately against all of the servers.

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