was using the wrong file var when reading some values from the recovery log.  Net effect is that recovery log was always considered inconsistent.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hiram R. Chirino 2010-04-09 18:23:04 +00:00
parent 80a7ec59b4
commit 10e57c9e05
1 changed files with 3 additions and 3 deletions

View File

@ -1073,9 +1073,9 @@ public class PageFile {
// How many recovery pages do we have in the recovery buffer?
recoveryFile.seek(0);
long nextTxId = readFile.readLong();
long expectedChecksum = readFile.readLong();
int pageCounter = readFile.readInt();
long nextTxId = recoveryFile.readLong();
long expectedChecksum = recoveryFile.readLong();
int pageCounter = recoveryFile.readInt();
recoveryFile.seek(RECOVERY_FILE_HEADER_SIZE);
Checksum checksum = new Adler32();