couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chongqing xiao <>
Subject question about how write_header works
Date Thu, 23 Sep 2010 02:18:52 GMT

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

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?



View raw message