db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørgen Løland (JIRA) <j...@apache.org>
Subject [jira] Created: (DERBY-3492) When the replication log buffer becomes full, the chunk of log that should be appended is to the buffer is discarded
Date Tue, 04 Mar 2008 12:20:40 GMT
When the replication log buffer becomes full, the chunk of log that should be appended is to
the buffer is discarded
--------------------------------------------------------------------------------------------------------------------

                 Key: DERBY-3492
                 URL: https://issues.apache.org/jira/browse/DERBY-3492
             Project: Derby
          Issue Type: Bug
          Components: Replication
    Affects Versions: 10.4.0.0
            Reporter: Jørgen Løland
            Assignee: Jørgen Løland


In MasterController#appendLog, log is force-sent to the slave if the replication log buffer
becomes full. However, the log chunk that should have been appended is discarded:

try {
     logBuffer.appendLog(greatestInstant, log, logOffset, logLength);
} catch (LogBufferFullException lbfe) {
     try {
         logShipper.forceFlush();
     } catch (IOException ioe) {
...
}

The log chunk must be added after freeing a log buffer by calling forceFlush

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message