• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/docs/ref/upgrade.4.3/
1<!--$Id: repl.so,v 1.10 2005/10/19 19:11:22 bostic Exp $-->
2<!--Copyright (c) 1997,2008 Oracle.  All rights reserved.-->
3<!--See the file LICENSE for redistribution information.-->
4<html>
5<head>
6<title>Berkeley DB Reference Guide: Release 4.3: Replication</title>
7<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
8<meta name="keywords" content="embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++">
9</head>
10<body bgcolor=white>
11<table width="100%"><tr valign=top>
12<td><b><dl><dt>Berkeley DB Reference Guide:<dd>Upgrading Berkeley DB Applications</dl></b></td>
13<td align=right><a href="../upgrade.4.3/enomem.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.3/rtc.html"><img src="../../images/next.gif" alt="Next"></a>
14</td></tr></table>
15<p align=center><b>Release 4.3: Replication</b></p>
16<p>The 4.3 release removes support for logs-only replication clients.  Use
17of the DB_REP_LOGSONLY flag to the <a href="../../api_c/rep_start.html">DB_ENV-&gt;rep_start</a> should be replaced
18with the <a href="../../api_c/repmgr_start.html#DB_REP_CLIENT">DB_REP_CLIENT</a> flag.</p>
19<p>The 4.3 release adds two new arguments to the <a href="../../api_c/rep_elect.html">DB_ENV-&gt;rep_elect</a> method,
20<b>nvotes</b> and <b>flags</b>.  The <b>nvotes</b> argument sets the
21required number of replication group members that must participate in
22an election in order for a master to be declared.  For backward
23compatibility, set the <b>nvotes</b> argument to 0.  The flags argument
24is currently unused and should be set to 0.  See <a href="../../api_c/rep_elect.html">DB_ENV-&gt;rep_elect</a> method or
25"Replication Elections" for more information.</p>
26<p>In the 4.3 release it is no longer necessary to do a database
27environment hot backup to initialize a replication client.  All that is
28needed now is for the client to join the replication group.  Berkeley DB will
29perform an internal backup from the master to the client automatically
30and will run recovery on the client to bring it up to date with the
31master.</p>
32<table width="100%"><tr><td><br></td><td align=right><a href="../upgrade.4.3/enomem.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../toc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../upgrade.4.3/rtc.html"><img src="../../images/next.gif" alt="Next"></a>
33</td></tr></table>
34<p><font size=1>Copyright (c) 1996,2008 Oracle.  All rights reserved.</font>
35</body>
36</html>
37