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

FlushAll in .net client no longer working

4 replies [Last post]
  • Login or register to post comments
Wed, 01/16/2013 - 09:21
rockster
Offline
Joined: 03/02/2012
Groups: None

We've just upgraded however we noticed the FlushAll() method in the .net client no longer works. Is this a bug (hopefully not a feature).

.net client 1.2

Top
  • Login or register to post comments
Wed, 01/16/2013 - 11:54
Neo-matrix
Offline
Joined: 10/15/2012
Groups: None

Hi,
To remove the data (but not design documents) from a bucket, use the FlushBucket method.

void FlushBucket(string bucketName) flushes data from a bucket

cluster.FlushBucket("bucketName");

Ref link "http://www.couchbase.com/docs/couchbase-sdk-net-1.2/couchbase-sdk-net-cluster-management.html".

Thanks,
Neo

Top
  • Login or register to post comments
Thu, 01/17/2013 - 01:26
rockster
Offline
Joined: 03/02/2012
Groups: None

Thanks!

Top
  • Login or register to post comments
Thu, 01/17/2013 - 07:59
rockster
Offline
Joined: 03/02/2012
Groups: None

Ok now i get Not Authorized error. I've set the console username and password however this error is still produced.

Neo-matrix wrote:
Hi,
To remove the data (but not design documents) from a bucket, use the FlushBucket method.

void FlushBucket(string bucketName) flushes data from a bucket

cluster.FlushBucket("bucketName");

Ref link "http://www.couchbase.com/docs/couchbase-sdk-net-1.2/couchbase-sdk-net-cluster-management.html".

Thanks,
Neo

Top
  • Login or register to post comments
Mon, 01/21/2013 - 05:57
rockster
Offline
Joined: 03/02/2012
Groups: None

*removed*

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