how to confirm an insertion operation is successful
Tue, 06/14/2011 - 19:42
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()?
Thu, 06/16/2011 - 16:19
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
My bad, I had a logical problem in my code which was not sending all the keys to membase.