Riak occasionally not storing objects

David Greenstein dave at collaborate.com
Wed Oct 23 15:23:56 EDT 2013

Thank you for your quick responses.

Here are the bucket properties (using the default):


From the client perspective, the write call receives a success. There are no console or error log messages on the riak nodes at the time the issue occurs. Is there a lower level way to debug if the write succeeded?

The meta returned from the client:
{ host: '',
  port: '8098',
  links: [],
  resource: 'riak',
  clientId: 'riak-js',
  contentEncoding: 'utf8',
  accept: 'multipart/mixed,application/json;q=0.7, */*;q=0.5',
  callback: [Function],
  logger: undefined,
  encodeUri: false,
  bucket: ’test',
  key: '1382538564S9420',
  contentType: 'application/json',
  clientStream: undefined,
   { vary: 'Accept-Encoding',
     server: 'MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact)',
     date: 'Wed, 23 Oct 2013 19:17:28 GMT',
     'content-type': 'application/json',
     'content-length': '0' },
  _cacheHeaders: false,
  contentLength: '0',
  transferEncoding: undefined,
  vclock: undefined,
  lastMod: undefined,
  contentRange: undefined,
  acceptRanges: undefined,
  date: 'Wed, 23 Oct 2013 19:17:28 GMT',
  statusCode: 204 }

Thanks again!

On Oct 23, 2013, at 2:42 PM, Brian Sparrow <bsparrow at basho.com> wrote:

> In addition to Andrew’s question, what are the bucket properties for the bucket you are doing the writes against?
> Thanks,
> -- 
> Brian Sparrow
> Developer Advocate
> Basho Technologies
> Sent with Sparrow
> On Wednesday, October 23, 2013 at 2:40 PM, Andrew Thompson wrote:
>> On Wed, Oct 23, 2013 at 02:36:11PM -0400, David Greenstein wrote:
>>> Hello All,
>>> I have a Riak cluster with 5 nodes on AWS m1.large instances, all using EBS deadline scheduling. The cluster is accessed via node.js and the riak-js library using the HTTP protocol. I’ve tried it with and without connection pooling. All software has been updated to the latest versions.
>>> Occasionally, riak seems to not store an object I try to save. I have run tcpdump on the node receiving the request to ensure it is receiving the http packets with the correct JSON from the client. When the issue occurs the node is in fact receiving the request with the correct JSON.
>>> Has anyone else experienced an issue like this? Any hints on how to debug the situation would be greatly appreciated.
>> What are your read and write quorums, and does the write report that it
>> suceeded?
>> Andrew
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20131023/162bf98b/attachment.html>

More information about the riak-users mailing list