Steve
unread,Apr 23, 2012, 4:00:05 PM4/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Couchbase
I am inserting ~771k documents read from a text file in key:json_str
format. At some point after about 750k documents are inserted, about
11k are not inserted. I have not checked whether the documents are
contiguous in the source file or scattered through the tail end of it,
but I know the very last records of the source are inserted.
I can collect the non-inserted records into another file and then
insert them with the original update routine.
Also, this is reproducible but not consistent. I have flushed the
bucket and repeated the process, but get a different number of records
inserted (delta = 1976)
The pdf documentation shows this pattern for inserts:
client.set(key, 0, value)
client.get(key)
but does not say the set *must* be followed by a get. Without the get
I see fewer than half the records inserted. The documentation is also
unclear on the TTL value, i.e. what's the meaning of 0,
Integer.MAX_VALUE, negative value, and the fact that it is time to
live.
Other than the get, is there anything I am missing?