priyath edited a comment on issue #2040: [Sporadic] Views returning stale data
URL: https://github.com/apache/couchdb/issues/2040#issuecomment-497177338
 
 
   > In 1.x, if you purge more than a single document at a time, your views 
must all rebuild entirely from scratch. The recommended approach in 1.x is to 
purge a single document, then GET a view from each design document, then repeat 
until all documents are purged. The GET process is what heals the view from 
that single purge, and only a single purge can be handled by this mechanism.
   > 
   > Not sure if this is what you mean by "touch" a design document or not.
   > 
   > I don't remember anything about the purge sequences, sorry.
   
   We definitely purge more than a single document at a time. The upper bound 
is 20,000 documents (purged in batches) for a purge but on average it is around 
100 - 1000 documents during a single purge window.
   
   And yes that is what I meant by "touching" the design documents after a 
purge. So are you saying if we purge multiple documents, a simple GET call is 
not going to do a re-index or will it rebuild an entirely new index from 
scratch?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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