davisp commented on issue #1096: CouchDB 2.1.1: Sporadic Error 500 Internal 
Server Error when adding attachment to a document just created: 
fabric_worker_timeout 
URL: https://github.com/apache/couchdb/issues/1096#issuecomment-359057911
 
 
   You might try writing the doc creation with `?w=3` to see if that fixes 
things. I'd wager you're probably getting a race against the first write if you 
happen to snag a node that didn't get the write yet on the second request. If 
that seems to fix it we can take a look at attachment writing to see if we can 
make it robust if it tries to write to a node that would generate a conflict.
   
   Oh, and alternatively a more straightforward test would be to create a doc, 
then write an attachment to it with an random revision. I'd think that might 
fail in roughly the same way.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to