Comment 0 for bug 1028016

Revision history for this message
Peter Beaman (pbeaman) wrote :

At a design partner site the journal extended to 100 files, dating back at least a week. The journal should have been trimmed to no more than 10 files. This is a concise restatement of initial bug reported as #1027104.

The first remaining journal file is akiban_journal.000000000252
The JournalManagerMXBean looks like this:

Closed = false;
CurrentTimestamp = 1941180015;
BlockSize = 1000000000;
AppendOnly = false;
PageMapSize = 2;
JournalFilePath = /mnt/akiban_data_dir/akiban_journal;
LastValidCheckpointTimestamp = 1941178415;
BaseAddress = 252000012130;
JournalCreatedTime = 1341411912660;
LiveTransactionMapSize = 0;
PageListSize = 2;
CurrentAddress = 352002952537;
CopyingFast = false;
FlushInterval = 100;
CopierInterval = 10000;
RollbackPruningEnabled = true;
Copying = false;
JournaledPageCount = 77;
ReadPageCount = 7;
CopiedPageCount = 94705;
DroppedPageCount = 6;
LastCopierException = null;
LastFlusherException = null;
LastValidCheckpointTimeMillis = 1342807124812;
SlowIoAlertThreshold = 2000;
TotalCompletedCommits = 160;
CommitCompletionWaitTime = 2062;

Upon investigation we found there was a very old version of a page in the page map for file 252, and even though newer versions of that page were written to the journal and copied, the old version remained. Edited journal dumps for files 252, 253 and 254 are attached.