nickva opened a new pull request, #5913:
URL: https://github.com/apache/couchdb/pull/5913

   Previously, if we successfully parsed a design document into an #mrst{} 
record, we would create a purge checkpoint even if the view group didn't have 
any views, or used an invalid language. Normally, having extra unused 
checkpoints around would be just bit untidy, however, when we start purging, 
these checkpoints won't be advancing, and after a while prevent the compactor 
from compacting the purge sequences and advancing the minimum purge sequence 
forward.
   
   In other words, we need to differentiate between pars-able #mrst{} view 
groups and those that can actually build on a particular node. Ken (our 
background index builder) was already performing the same check, so simply move 
the check to the proc manager and the the indexing utility modules so it can be 
reused.
   
   In the proc manager, noticed that the repeated OS environment fetching and 
parsing was kind of time consuming (100s of microseconds) so used a persistent 
term.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to