| 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_request</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_priority_parameter.html" title="rep_set_priority" /> |
| 12 | <link rel="next" href="rep_set_timeout_parameter.html" title="rep_set_timeout" /> |
| 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_request</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="rep_set_priority_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_timeout_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_request_parameter"></a>rep_set_request</h2> |
| 36 | </div> |
| 37 | </div> |
| 38 | </div> |
| 39 | <p> |
| 40 | Sets a threshold for the minimum and maximum |
| 41 | time that a client waits before requesting retransmission of a missing message. |
| 42 | </p> |
| 43 | <p> |
| 44 | 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 |
| 45 | single line with the string |
| 46 | <code class="literal">rep_set_request</code>, one or more whitespace |
| 47 | characters, and the request time specified in two parts: |
| 48 | the min and the max. Specifically, if the client detects a |
| 49 | gap in the sequence of incoming log records or database |
| 50 | pages, Berkeley DB will wait for at least min microseconds |
| 51 | before requesting retransmission of the missing record. |
| 52 | Berkeley DB will double that amount before requesting the |
| 53 | same missing record again, and so on, up to a maximum |
| 54 | threshold of max microseconds. |
| 55 | </p> |
| 56 | <p>By default the minimum is 40000 and the maximum is 1280000 (1.28 seconds). These defaults |
| 57 | are fairly arbitrary and the application likely needs to adjust these. The values should be |
| 58 | based on expected load and performance characteristics of the master and client host |
| 59 | platforms and transport infrastructure as well as round-trip message time. |
| 60 | </p> |
| 61 | <p>For more information, see <a class="xref" href="repset_request.html" title="DbEnv::rep_set_request()">DbEnv::rep_set_request()</a>. </p> |
| 62 | </div> |
| 63 | <div class="navfooter"> |
| 64 | <hr /> |
| 65 | <table width="100%" summary="Navigation footer"> |
| 66 | <tr> |
| 67 | <td width="40%" align="left"><a accesskey="p" href="rep_set_priority_parameter.html">Prev</a> </td> |
| 68 | <td width="20%" align="center"> |
| 69 | <a accesskey="u" href="configuration_reference.html">Up</a> |
| 70 | </td> |
| 71 | <td width="40%" align="right"> <a accesskey="n" href="rep_set_timeout_parameter.html">Next</a></td> |
| 72 | </tr> |
| 73 | <tr> |
| 74 | <td width="40%" align="left" valign="top">rep_set_priority </td> |
| 75 | <td width="20%" align="center"> |
| 76 | <a accesskey="h" href="index.html">Home</a> |
| 77 | </td> |
| 78 | <td width="40%" align="right" valign="top"> rep_set_timeout</td> |
| 79 | </tr> |
| 80 | </table> |
| 81 | </div> |
| 82 | </body> |
| 83 | </html> |