summaryrefslogtreecommitdiff
path: root/docs/api_reference/C/dbsite_remove.html
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/api_reference/C/dbsite_remove.html
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'docs/api_reference/C/dbsite_remove.html')
-rw-r--r--docs/api_reference/C/dbsite_remove.html34
1 files changed, 25 insertions, 9 deletions
diff --git a/docs/api_reference/C/dbsite_remove.html b/docs/api_reference/C/dbsite_remove.html
index 4b1a3296..da065800 100644
--- a/docs/api_reference/C/dbsite_remove.html
+++ b/docs/api_reference/C/dbsite_remove.html
@@ -14,7 +14,7 @@
<body>
<div xmlns="" class="navheader">
<div class="libver">
- <p>Library Version 11.2.5.3</p>
+ <p>Library Version 12.1.6.1</p>
</div>
<table width="100%" summary="Navigation header">
<tr>
@@ -45,13 +45,16 @@ DB_SITE-&gt;remove(DB_SITE *site); </pre>
<p>
The <code class="methodname">DB_SITE-&gt;remove()</code> method removes the
site from the replication group. If called at the master site,
- repmgr updates the membership database directly. If called from a
+ Replication Manager updates the group membership database directly. If
+ called from a
client, this method causes a request to be sent to the master to
perform the operation. The method then awaits confirmation.
</p>
<p>
The DB_SITE handle must not be accessed again after this
method is called, regardless of the return value.
+ This method may not be
+ called before starting Replication Manager.
</p>
<p>
The <code class="methodname">DB_SITE-&gt;remove()</code> <span>
@@ -65,7 +68,7 @@ DB_SITE-&gt;remove(DB_SITE *site); </pre>
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idp61897464"></a>Errors</h3>
+ <h3 class="title"><a id="idp3592480"></a>Errors</h3>
</div>
</div>
</div>
@@ -81,23 +84,36 @@ DB_SITE-&gt;remove(DB_SITE *site); </pre>
<div class="titlepage">
<div>
<div>
- <h4 class="title"><a id="idp61889392"></a>DB_REP_UNAVAIL</h4>
+ <h4 class="title"><a id="idp3595960"></a>DB_REP_UNAVAIL</h4>
</div>
</div>
</div>
<p>
- The master updated the database but did not receive enough
- acknowledgements from clients sufficient to meet the
- current ack policy or there was an attempt to remove the
+ The master updated the group membership database but did not
+ receive enough
+ acknowledgements from clients to meet the current
+ acknowledgement policy or there was an attempt to remove the
current master site from the replication group.
</p>
</div>
+ <div class="sect3" lang="en" xml:lang="en">
+ <div class="titlepage">
+ <div>
+ <div>
+ <h4 class="title"><a id="idp3585456"></a>EINVAL</h4>
+ </div>
+ </div>
+ </div>
+ <p>
+ If Replication Manager has not been started.
+ </p>
+ </div>
</div>
<div class="sect2" lang="en" xml:lang="en">
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idp61900088"></a>Class</h3>
+ <h3 class="title"><a id="idp3585928"></a>Class</h3>
</div>
</div>
</div>
@@ -109,7 +125,7 @@ DB_SITE-&gt;remove(DB_SITE *site); </pre>
<div class="titlepage">
<div>
<div>
- <h3 class="title"><a id="idp61891488"></a>See Also</h3>
+ <h3 class="title"><a id="idp3572752"></a>See Also</h3>
</div>
</div>
</div>