Hiram R. Chirino 2006-06-11 19:31:52 +00:00
parent 2c8b312bda
commit 584288dbe9
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?
if (offset >= ri.getLogFileState().getAppendOffset()) {
LogFileNode nextActive = ri.getLogFileState().getNextActive();
if (nextActive == null) {
if (nextActive == null || nextActive.getId() <= ri.getLogFileState().getId() ) {
return null;
}
logFileId = nextActive.getId();