Hiram R. Chirino 2006-06-11 19:34:38 +00:00
parent 3756ee2d3a
commit 10302dd92e
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ final public class LogFileManager {
// Are we overflowing into next logFile? // Are we overflowing into next logFile?
if (offset >= ri.getLogFileState().getAppendOffset()) { if (offset >= ri.getLogFileState().getAppendOffset()) {
LogFileNode nextActive = ri.getLogFileState().getNextActive(); LogFileNode nextActive = ri.getLogFileState().getNextActive();
if (nextActive == null) { if (nextActive == null || nextActive.getId() <= ri.getLogFileState().getId() ) {
return null; return null;
} }
logFileId = nextActive.getId(); logFileId = nextActive.getId();