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.