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

how to confirm an insertion operation is successful

2 replies [Last post]
  • Login or register to post comments
Tue, 06/14/2011 - 19:42
Rishi
Offline
Joined: 06/10/2011
Groups: None

In my program i am inserting about a million keys into membase, however there are always some missing keys. I have confirmed that all the million keys are unique. Is there a way to know whether a key has been successfully inserted other than doing a get()?

Top
  • Login or register to post comments
Wed, 06/15/2011 - 11:48
Rishi
Offline
Joined: 06/10/2011
Groups: None

My bad, I had a logical problem in my code which was not sending all the keys to membase.

Top
  • Login or register to post comments
Thu, 06/16/2011 - 16:19
perry
Offline
Joined: 10/11/2010
Groups:

If you get a "stored" back from the set command, you can be assured that the data is in Membase.

We also have a synchronous feature that will allow you to "wait" (i.e. block) until a certain key or keys have been replicated to another node...further ensuring your durability.

We're working on expanding client support for this feature, but you can read more about it here: http://blog.couchbase.com/new-operations-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
  • 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