Hiya Carlos, yes, the race condition definitely still exists.

As far as I know the guidance in the wiki is still accurate. The brute force 
way to eliminate the issue is to emit the doc directly in the view definition 
and skip include_docs altogether, but of course that has a whole set of 
associated tradeoffs ...

Cheers, Adam


> On Dec 19, 2017, at 6:32 AM, Carlos Alonso <[email protected]> wrote:
> 
> Hello everyone!!
> 
> We're experiencing an issue? in which non deterministically we query a view
> with include_docs = true and some of the fetched documents are missing.
> 
> We've found a few lines in the old wiki (
> https://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options) that warns
> about a race condition that could be the cause of this behaviour.
> 
> I was wondering if this still holds true and if there's anything we can do
> to fix it/work around.
> 
> Regards
> 
> 
> -- 
> [image: Cabify - Your private Driver] <http://www.cabify.com/>
> 
> *Carlos Alonso*
> Data Engineer
> Madrid, Spain
> 
> [email protected]
> 
> [image: Facebook] <http://cbify.com/fb_ES>[image: Twitter]
> <http://cbify.com/tw_ES>[image: Instagram] <http://cbify.com/in_ES>[image:
> Linkedin] <https://www.linkedin.com/in/mrcalonso>
> 
> -- 
> Este mensaje y cualquier archivo adjunto va dirigido exclusivamente a su 
> destinatario, pudiendo contener información confidencial sometida a secreto 
> profesional. No está permitida su reproducción o distribución sin la 
> autorización expresa de Cabify. Si usted no es el destinatario final por 
> favor elimínelo e infórmenos por esta vía. 
> 
> This message and any attached file are intended exclusively for the 
> addressee, and it may be confidential. You are not allowed to copy or 
> disclose it without Cabify's prior written authorization. If you are not 
> the intended recipient please delete it from your system and notify us by 
> e-mail.

Reply via email to