couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Kocoloski <kocol...@apache.org>
Subject Re: question about how write_header works
Date Thu, 23 Sep 2010 03:36:38 GMT
Hi Chong, that's exactly right.  Regards,

Adam

On Sep 22, 2010, at 10:18 PM, chongqing xiao wrote:

> Hi,
> 
> Could anyone explain how write_header (or header) in works in couchdb?
> 
> When appending new header, I am assuming the new header will be
> appended to the end of the DB file and the old header will be kept
> around?
> 
> If that is the case, what will happen if the header is partially
> written? I am assuming the code will loop back and find the previous
> old header and recover from there?
> 
> Thanks
> 
> Chong


Mime
View raw message