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] Updated: (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 15:25:40 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jørgen Løland updated DERBY-3492:
---------------------------------

    Derby Info: [Patch Available]

> 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
>         Attachments: derby-3492-1a.diff, derby-3492-1a.stat
>
>
> 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