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

Flush Cache (default bucket) from all the nodes in a cluster

2 replies [Last post]
  • Login or register to post comments
Wed, 02/09/2011 - 02:50
pradeepc
Offline
Joined: 02/09/2011
Groups: None

 Hi,

We were using memcached and developed a java api to flush the cache.

I have changed my set with membase cluser with 2 nodes and using moxi i am accessing membase cluster into my program. But when we try to use the same flush api to flush the cache , it is not flushing cache from all the nodes.

Could you guide us to flush the cache from all the nodes by using membase api

Thanks,

Pradeep

 

 

Top
  • Login or register to post comments
Wed, 02/09/2011 - 18:09
perry
Offline
Joined: 10/11/2010
Groups:

 Pradeep, there are currently some known issues with the memcached 'flush_all' command not working properly.  We've got open bugs and I will follow up with our engineering team to see when it can be fixed.

 

In the meantime, you can pretty easily remove all the data from a Membase bucket by simply shutting down the service, deleting the database files and then restarting.  

 

Let me know if that helps

 

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
Thu, 10/13/2011 - 08:59
abhihome
Offline
Joined: 03/14/2011
Groups: None

Hi Perry,

Is there a way I can flush a vBucket?

Background: I need to group my cache by modules, and be able to refresh the cache of that module on demand.
I can code my CacheManager to have multiple MemcachedClient instances and tag them to a vBucket, dedicated for a module.

mc1 = new MemcachedClient(baseURIs, "module1", "");
mc2 = new MemcachedClient(baseURIs, "module2", "");

Thanks
Abhilash

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