You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/08/08 13:20:36 UTC

svn commit: r983383 - in /couchdb/site/htdocs: downloads.html downloads.txt

Author: jan
Date: Sun Aug  8 11:20:36 2010
New Revision: 983383

URL: http://svn.apache.org/viewvc?rev=983383&view=rev
Log:
add 1.0.0 data loss warning

Modified:
    couchdb/site/htdocs/downloads.html
    couchdb/site/htdocs/downloads.txt

Modified: couchdb/site/htdocs/downloads.html
URL: http://svn.apache.org/viewvc/couchdb/site/htdocs/downloads.html?rev=983383&r1=983382&r2=983383&view=diff
==============================================================================
--- couchdb/site/htdocs/downloads.html (original)
+++ couchdb/site/htdocs/downloads.html Sun Aug  8 11:20:36 2010
@@ -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>

Modified: couchdb/site/htdocs/downloads.txt
URL: http://svn.apache.org/viewvc/couchdb/site/htdocs/downloads.txt?rev=983383&r1=983382&r2=983383&view=diff
==============================================================================
--- couchdb/site/htdocs/downloads.txt (original)
+++ couchdb/site/htdocs/downloads.txt Sun Aug  8 11:20:36 2010
@@ -10,6 +10,26 @@ The following releases of Apache CouchDB
 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