From: Kevin Lewis Date: November 10 2008 2:40pm Subject: Re: Review fix for Bug#39696, serial log corruption List-Archive: http://lists.mysql.com/falcon/168 Message-Id: <491847C5.5050903@sun.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT >> Shouldn't this comment read; >> >> - // Flush record data, if any, and force the creation of a new >> serial log window >> + // Flush record data, if any, and force the creation of a new >> serial log record > > Actually, both are true, but your suggestion is clearer. A SerialLogWindow is always 1Mb. I do not see how starting a new SerialLogRecord will start a new window. The outer loop in SRLUpdateRecords::append just starts a new SerialLogRecord, not a new window. for (RecordVersion *record = records; record;) { START_RECORD(srlUpdateRecords, "SRLUpdateRecords::append");