2012-07-23 16:02:19 |
Peter Beaman |
bug |
|
|
added bug |
2012-07-23 16:12:37 |
Peter Beaman |
attachment added |
|
Bug_1028016_JournalInfo https://bugs.launchpad.net/akiban-persistit/+bug/1028016/+attachment/3233056/+files/Bug_1028016_JournalInfo |
|
2012-07-23 16:14:28 |
Peter Beaman |
description |
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. |
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 the 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. |
|
2012-07-23 16:15:43 |
Peter Beaman |
visibility |
private |
public |
|
2012-07-23 16:19:02 |
Peter Beaman |
akiban-persistit: milestone |
|
3.1.3 |
|
2012-07-23 17:12:05 |
Peter Beaman |
akiban-persistit: assignee |
|
Peter Beaman (pbeaman) |
|
2012-07-23 17:12:11 |
Peter Beaman |
akiban-persistit: status |
Confirmed |
In Progress |
|
2012-07-23 19:33:18 |
Peter Beaman |
attachment added |
|
Bug_1028016_JournalInfo https://bugs.launchpad.net/akiban-persistit/+bug/1028016/+attachment/3233286/+files/Bug_1028016_JournalInfo |
|
2012-07-23 19:33:35 |
Peter Beaman |
attachment removed |
Bug_1028016_JournalInfo https://bugs.launchpad.net/akiban-persistit/+bug/1028016/+attachment/3233056/+files/Bug_1028016_JournalInfo |
|
|
2012-07-23 20:29:46 |
Peter Beaman |
akiban-persistit: status |
In Progress |
Fix Committed |
|
2012-07-26 17:27:39 |
Nathan Williams |
branch linked |
|
lp:~pbeaman/akiban-persistit/log-volpath |
|
2012-07-26 17:47:54 |
Mike McMahon |
branch linked |
|
lp:~pbeaman/akiban-persistit/warn-missing-volume |
|
2012-07-26 17:48:08 |
Mike McMahon |
branch unlinked |
lp:~pbeaman/akiban-persistit/log-volpath |
|
|
2012-07-30 00:07:05 |
Nathan Williams |
akiban-persistit: status |
Fix Committed |
Fix Released |
|