Documents not persisted
I am using the java driver with 'set' to store about 5 million JSON documents. I recently completed such an operation without error. It seems that disk space was consumed but no documents were saved. I looked on the Web Console at the bucket and found that there were 0 items in my bucket. The bucket seemed to take up space (disk shows 1.27GB/1.52GB and RAM shows 61.3 MB/3.91 GB) but there were no documents (Item Count shows 0 on the console). Ideas?
I am coding with a pattern like:
ProductBase product = GenerateProduct(rs);
String json = gson.toJson(product);
String paddedSku = product.getSKU();
if(paddedSku.length() < 10)
paddedSku = String.format("%10s", paddedSku).replace(' ', '0');
OperationFuture result = cbc.set(paddedSku, 7776000, json);
but there are not items in the bucket but the bucket (as per the disk) is not empty.
I could give you a screen shot but I am not sure how to upload an image (I am only given an option to 'Browse Server'. I want to upload the image not see what images are available on the server).