couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damien Katz <>
Subject Re: Updating views on save
Date Mon, 28 Apr 2008 11:50:20 GMT

On Apr 28, 2008, at 7:44 AM, David Z├╝lke wrote:

> Just curious... does the view generation have some kind of stampede  
> protection / locking mechanism? So multiple calls to the same view  
> at the same time result in the first call generating the view and  
> others waiting or serving old info until the view index has been  
> updated?
> David

Yes, if a view index is already being updated for someone else,  
additional view readers wait for the same update to complete.
View raw message