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] Commented: (DERBY-3169) Add documentation for replication
Date Mon, 10 Mar 2008 11:03:46 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576944#action_12576944
] 

Jørgen Løland commented on DERBY-3169:
--------------------------------------

Hi Kim,

A few more comments now that the 10.4 branch has been cut:

* The system privileges did not make it into 10.4 (see funcspec v 10)
* The funcspec v10 contains a new failure handling scenario: 'slave crashes'.
* We have decided to use slaveHost and slavePort attribute names (were: slavehost and slaveport)
for uniformity.
* The default replication port has been changed from 8001 to 4851 - this port number was given
to us by IANA.
* There are now four configurable properties for replication:
 - derby.replication.verbose -> true/false - whether or not replication messages are written
to log (default: true)
 - derby.replication.logBufferSize -> the size of the replication log buffers in bytes.
These buffers store the log on the master side while waiting to be shipped to the slave. There
are a total of 10 such buffers. Large buffers increase the memory usage but reduces the chance
that the buffer gets full (in turn increasing response time for transactions on master, as
described in funcspec "Handling failure scenarios - The master Derby instance is not able
to send log to the slave at the same pace as log is generated..."). Default: 32768 (32KB).
Minimum value: 8192 (8 KB), maximum value: 1048576 (1 MB)
 - derby.replication.minLogShippingInterval -> the shortest interval between two consecutive
log shipments
 - derby.replication.maxLogShippingInterval -> the longest interval between two consecutive
log shipments (a "soft" guarantee that the slave will not deviate more than this amount of
millis from the master)

> Add documentation for replication
> ---------------------------------
>
>                 Key: DERBY-3169
>                 URL: https://issues.apache.org/jira/browse/DERBY-3169
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.4.0.0
>            Reporter: Jørgen Løland
>            Assignee: Kim Haase
>         Attachments: DERBY-3169-2.diff, DERBY-3169-2.stat, DERBY-3169-2.zip, DERBY-3169-3.diff,
DERBY-3169-3.zip, DERBY-3169.diff, DERBY-3169.stat, DERBY-3169.zip
>
>


-- 
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