Re: CouchDb not releasing files

2010-09-22 Thread [mRg]
Yes I did, issued it a couple of times as I was trying to see if its was some kind of race condition. Have a site due to launch on Friday so have got crazy busy but ill post more info when I have it, unless anyone else can try and help replicate this ? On 20 September 2010 21:42, Paul Davis wrot

question about how write_header works

2010-09-22 Thread chongqing xiao
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 ass

Re: question about how write_header works

2010-09-22 Thread Adam Kocoloski
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 o

Re: question about how write_header works

2010-09-22 Thread chongqing xiao
Hi, Adam: Thanks for the answer. If that is how it works, that seems create a lot of wasted space assuming a new header has to be appended each time new data is saved. Also, assuming here is the data layout newData1 ->start header1 newData2 header2 -> end If header 2 is partially writte