Debian Codegraph @

docs/api_reference/CXX/rep_set_priority_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>rep_set_priority</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_nsites_parameter.html" title="rep_set_nsites" />
12 <link rel="next" href="rep_set_request_parameter.html" title="rep_set_request" />
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_priority</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="rep_set_nsites_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_request_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_priority_parameter"></a>rep_set_priority</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 Specifies the database environment's priority in
41 replication group elections. A special value of 0 indicates that this environment cannot be a
42 replication group master.
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">rep_set_priority</code>, one or more
48 whitespace characters, and the priority of this site. For
49 example:
50 </p>
51 <pre class="programlisting">rep_set_priority 1</pre>
52 <p>
53 </p>
54 <p>Sets the priority of this site to 1.</p>
55 <p>
56 </p>
57 <p>For more information, see <a class="xref" href="reppriority.html" title="DbEnv::rep_set_priority()">DbEnv::rep_set_priority()</a>. </p>
58 </div>
59 <div class="navfooter">
60 <hr />
61 <table width="100%" summary="Navigation footer">
62 <tr>
63 <td width="40%" align="left"><a accesskey="p" href="rep_set_nsites_parameter.html">Prev</a> </td>
64 <td width="20%" align="center">
65 <a accesskey="u" href="configuration_reference.html">Up</a>
66 </td>
67 <td width="40%" align="right"> <a accesskey="n" href="rep_set_request_parameter.html">Next</a></td>
68 </tr>
69 <tr>
70 <td width="40%" align="left" valign="top">rep_set_nsites </td>
71 <td width="20%" align="center">
72 <a accesskey="h" href="index.html">Home</a>
73 </td>
74 <td width="40%" align="right" valign="top"> rep_set_request</td>
75 </tr>
76 </table>
77 </div>
78 </body>
79 </html>