Debian Codegraph @

docs/api_reference/C/repmgr_set_ack_policy_parameter.html

raw symbols SCIP
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>repmgr_set_ack_policy</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 D. DB_CONFIG Parameter Reference" />
11 <link rel="prev" href="rep_set_timeout_parameter.html" title="rep_set_timeout" />
12 <link rel="next" href="repmgr_site_parameter.html" title="repmgr_site" />
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">repmgr_set_ack_policy</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="rep_set_timeout_parameter.html">Prev</a> </td>
25 <th width="60%" align="center">Appendix D. DB_CONFIG Parameter Reference</th>
26 <td width="20%" align="right"> <a accesskey="n" href="repmgr_site_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="repmgr_set_ack_policy_parameter"></a>repmgr_set_ack_policy</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Specifies how master and client sites
41 will handle acknowledgment of replication messages which are necessary for "permanent"
42 records.
43 </p>
44 <p>
45 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
46 single line with the string
47 <code class="literal">repmgr_set_ack_policy</code>, one or more
48 whitespace characters, and the ack_policy parameter
49 specified as a string. For example:
50 </p>
51 <pre class="programlisting">repmgr_set_ack_policy DB_REPMGR_ACKS_ALL</pre>
52 <p>
53 Specifies that the master should wait until all replication
54 clients have acknowledged each permanent replication
55 message.
56 </p>
57 <p>
58 The ack_policy parameters are:
59 </p>
60 <div class="itemizedlist">
61 <ul type="disc">
62 <li>DB_REPMGR_ACKS_ALL</li>
63 <li>DB_REPMGR_ACKS_ALL_AVAILABLE</li>
64 <li>DB_REPMGR_ACKS_ALL_PEERS</li>
65 <li>DB_REPMGR_ACKS_NONE</li>
66 <li>DB_REPMGR_ACKS_ONE</li>
67 <li>DB_REPMGR_ACKS_ONE_PEER</li>
68 <li>DB_REPMGR_ACKS_QUORUM</li>
69 </ul>
70 </div>
71 <p>
72 For more information, see
73 <a class="xref" href="repmgrset_ack_policy.html" title="DB_ENV-&gt;repmgr_set_ack_policy()">DB_ENV-&gt;repmgr_set_ack_policy()</a>.
74 </p>
75 </div>
76 <div class="navfooter">
77 <hr />
78 <table width="100%" summary="Navigation footer">
79 <tr>
80 <td width="40%" align="left"><a accesskey="p" href="rep_set_timeout_parameter.html">Prev</a> </td>
81 <td width="20%" align="center">
82 <a accesskey="u" href="configuration_reference.html">Up</a>
83 </td>
84 <td width="40%" align="right"> <a accesskey="n" href="repmgr_site_parameter.html">Next</a></td>
85 </tr>
86 <tr>
87 <td width="40%" align="left" valign="top">rep_set_timeout </td>
88 <td width="20%" align="center">
89 <a accesskey="h" href="index.html">Home</a>
90 </td>
91 <td width="40%" align="right" valign="top"> repmgr_site</td>
92 </tr>
93 </table>
94 </div>
95 </body>
96 </html>