[
https://issues.apache.org/jira/browse/DERBY-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
V.Narayanan updated DERBY-3064:
-------------------------------
Attachment: LogShipperImpl_v1.stat
LogShipperImpl_v1.diff
This patch contains a preliminary implementation of the LogShipper.
The patch depends on the Network code (Derby-2921) and can be considered
for a commit only after the Network code is accepted.
Please find below a File by File explanation of the LogShipper code
A
java/engine/org/apache/derby/impl/services/replication/master/ReplicationAsynchronousLogShipper.java
This class creates a DaemonService that periodically sends the log record
chunks to
the slave. Since it uses the DaemonService by subcribing to it the interval at
which
the LogChunks are sent depends on the DaemonService.
A
java/engine/org/apache/derby/impl/services/replication/master/ReplicationForcedLogShipper.java
This class allows you to send a chunk of log from the buffer thus freeing up
the buffer. The ReplicationFOrcedLogShipper and the
ReplicationAsynchronousLogShipper
are synchronized on the LogBuffer.
A
java/engine/org/apache/derby/iapi/services/replication/master/ReplicationLogShippingFactory.java
This is the common interface to the ReplicationForcedLogShipper that will allow
the code to
request the freeing of the Log buffer and enable a Log chunk transfer.
> Implement the LogShipper that will enable the shipping of Log records from
> the master to the slave
> --------------------------------------------------------------------------------------------------
>
> Key: DERBY-3064
> URL: https://issues.apache.org/jira/browse/DERBY-3064
> Project: Derby
> Issue Type: Sub-task
> Reporter: V.Narayanan
> Attachments: LogShipperImpl_v1.diff, LogShipperImpl_v1.stat
>
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.