mirror of https://github.com/apache/activemq.git
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:
parent
80a7ec59b4
commit
10e57c9e05
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue