You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2012/02/21 08:13:41 UTC

[49/50] git commit: add 1.0.0 data loss warning

add 1.0.0 data loss warning

git-svn-id: https://svn.apache.org/repos/asf/couchdb/site/htdocs@983383 13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9d60e788
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9d60e788
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9d60e788

Branch: refs/heads/htdocs
Commit: 9d60e788325bcb37df6d1cd8530f448b0e1ac5a1
Parents: f4c9503
Author: Jan Lehnardt <ja...@apache.org>
Authored: Sun Aug 8 11:20:36 2010 +0000
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Sun Aug 8 11:20:36 2010 +0000

----------------------------------------------------------------------
 downloads.html |   22 ++++++++++++++++++++++
 downloads.txt  |   20 ++++++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9d60e788/downloads.html
----------------------------------------------------------------------
diff --git a/downloads.html b/downloads.html
index 0f01142..e5e26c3 100644
--- a/downloads.html
+++ b/downloads.html
@@ -76,6 +76,28 @@ limitations under the License.
 
 <h2>Current Releases</h2>
 
+<p><div style="border:5px dashed #F00;padding:1em"></p>
+
+<p><strong>CAUTION</strong> The 1.0.0 release has a data-loss bug in it&#8217;s default configuration.
+Please stand by and wait for the 1.0.1 release.</p>
+
+<p>If you <em>are</em> running CouchDB 1.0.0 in production, here are the steps to
+reconfigure CouchDB to avoid the bug. </p>
+
+<p><em>It is important that you do not stop or restart the server.</em></p>
+
+<pre><code>curl -X PUT http://127.0.0.1:5984/_config/couchdb/delayed_commits -d'"false"'
+</code></pre>
+
+<p>This disables <em>delayed commits</em>, the feature that includes the bug.</p>
+
+<p>Then, for each of your databases, run:</p>
+
+<pre><code>curl -X POST http://127.0.0.1:5984/database_name/_ensure_full_commit
+</code></pre>
+
+<p></div></p>
+
 <h3>1.0.0</h3>
 
 <h4>Files</h4>

http://git-wip-us.apache.org/repos/asf/couchdb/blob/9d60e788/downloads.txt
----------------------------------------------------------------------
diff --git a/downloads.txt b/downloads.txt
index 2f5265b..ff01a9f 100644
--- a/downloads.txt
+++ b/downloads.txt
@@ -10,6 +10,26 @@ The following releases of Apache CouchDB are available for download.
 Current Releases
 ----------------
 
+  <div style="border:5px dashed #F00;padding:1em">
+
+**CAUTION** The 1.0.0 release has a data-loss bug in it's default configuration.
+Please stand by and wait for the 1.0.1 release.
+
+If you *are* running CouchDB 1.0.0 in production, here are the steps to
+reconfigure CouchDB to avoid the bug. 
+
+*It is important that you do not stop or restart the server.*
+
+    curl -X PUT http://127.0.0.1:5984/_config/couchdb/delayed_commits -d'"false"'
+
+This disables *delayed commits*, the feature that includes the bug.
+
+Then, for each of your databases, run:
+
+    curl -X POST http://127.0.0.1:5984/database_name/_ensure_full_commit
+
+  </div>
+
 ### 1.0.0
 
 #### Files