| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>rep_set_config</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C++ API Reference" /> |
| 10 | <link rel="up" href="configuration_reference.html" title="Appendix B. DB_CONFIG Parameter Reference" /> |
| 11 | <link rel="prev" href="rep_set_clockskew_parameter.html" title="rep_set_clockskew" /> |
| 12 | <link rel="next" href="rep_set_limit_parameter.html" title="rep_set_limit" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">rep_set_config</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="rep_set_clockskew_parameter.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Appendix B. DB_CONFIG Parameter Reference</th> |
| 26 | <td width="20%" align="right"> <a accesskey="n" href="rep_set_limit_parameter.html">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr /> |
| 30 | </div> |
| 31 | <div class="sect1" lang="en" xml:lang="en"> |
| 32 | <div class="titlepage"> |
| 33 | <div> |
| 34 | <div> |
| 35 | <h2 class="title" style="clear: both"><a id="rep_set_config_parameter"></a>rep_set_config</h2> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | <p> |
| 40 | Configures the Berkeley DB replication subsystem. |
| 41 | </p> |
| 42 | <p> |
| 43 | The syntax of this parameter in the <a href="../../programmer_reference/env_db_config.html#env_db_config.DB_CONFIG" class="olink">DB_CONFIG</a> file is a single |
| 44 | line with the string <code class="literal">rep_set_config</code>, one or |
| 45 | more whitespace characters, and the method parameter as a string |
| 46 | and optionally one or more whitespace characters, and the string |
| 47 | <code class="literal">on</code> or <code class="literal">off</code>. If the optional |
| 48 | string is omitted, the default is <code class="literal">on</code>. For |
| 49 | example: |
| 50 | </p> |
| 51 | <pre class="programlisting">rep_set_config DB_REP_CONF_NOWAIT on</pre> |
| 52 | <p> |
| 53 | or |
| 54 | </p> |
| 55 | <pre class="programlisting">rep_set_config DB_REP_CONF_NOWAIT</pre> |
| 56 | <p> |
| 57 | Configures the Berkeley DB replication subsystem such that the |
| 58 | method calls that would normally block while clients are in |
| 59 | recovery will return errors immediately. |
| 60 | </p> |
| 61 | <p>The method parameters are:</p> |
| 62 | <div class="itemizedlist"> |
| 63 | <ul type="disc"> |
| 64 | <li>DB_REP_CONF_AUTOINIT</li> |
| 65 | <li>DB_REP_CONF_BULK</li> |
| 66 | <li>DB_REP_CONF_DELAYCLIENT</li> |
| 67 | <li>DB_REP_CONF_INMEM</li> |
| 68 | <li>DB_REP_CONF_LEASE</li> |
| 69 | <li>DB_REP_CONF_NOWAIT</li> |
| 70 | <li>DB_REPMGR_CONF_ELECTIONS</li> |
| 71 | <li>DB_REPMGR_CONF_2SITE_STRICT</li> |
| 72 | </ul> |
| 73 | </div> |
| 74 | <p> |
| 75 | For more information, see <a class="xref" href="repconfig.html" title="DbEnv::rep_set_config()">DbEnv::rep_set_config()</a>. |
| 76 | </p> |
| 77 | </div> |
| 78 | <div class="navfooter"> |
| 79 | <hr /> |
| 80 | <table width="100%" summary="Navigation footer"> |
| 81 | <tr> |
| 82 | <td width="40%" align="left"><a accesskey="p" href="rep_set_clockskew_parameter.html">Prev</a> </td> |
| 83 | <td width="20%" align="center"> |
| 84 | <a accesskey="u" href="configuration_reference.html">Up</a> |
| 85 | </td> |
| 86 | <td width="40%" align="right"> <a accesskey="n" href="rep_set_limit_parameter.html">Next</a></td> |
| 87 | </tr> |
| 88 | <tr> |
| 89 | <td width="40%" align="left" valign="top">rep_set_clockskew </td> |
| 90 | <td width="20%" align="center"> |
| 91 | <a accesskey="h" href="index.html">Home</a> |
| 92 | </td> |
| 93 | <td width="40%" align="right" valign="top"> rep_set_limit</td> |
| 94 | </tr> |
| 95 | </table> |
| 96 | </div> |
| 97 | </body> |
| 98 | </html> |