diff options
author | Damien F. Katz <damien@apache.org> | 2009-05-25 19:52:28 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2009-05-25 19:52:28 +0000 |
commit | 16ccd4c0b8ae4272fa27d32948658b1424a291fc (patch) | |
tree | f6d59d017234409436091cc53938b27549d9b54f /share/www/script | |
parent | 4aac0f7c6dcd3f3a29cfe5e1bf2bee84b9bae9d5 (diff) |
Merging new tail append storage into trunk. Upgrades are automatic, once opened by this version old versions of CouchDB will not be able to open the files. As a precaution, you should back-up your production databases before upgrading.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@778485 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/test/basics.js | 2 | ||||
-rw-r--r-- | share/www/script/test/compact.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js index 39500629..19a7e015 100644 --- a/share/www/script/test/basics.js +++ b/share/www/script/test/basics.js @@ -139,7 +139,7 @@ couchTests.basics = function(debug) { // make sure we can still open the old rev of the deleted doc T(db.open(existingDoc._id, {rev: existingDoc._rev}) != null); - + console.log("db.info: " + db.info.update_seq), // make sure restart works T(db.ensureFullCommit().ok); restartServer(); diff --git a/share/www/script/test/compact.js b/share/www/script/test/compact.js index 51a57051..a3b55d85 100644 --- a/share/www/script/test/compact.js +++ b/share/www/script/test/compact.js @@ -15,7 +15,7 @@ couchTests.compact = function(debug) { db.deleteDb(); db.createDb(); if (debug) debugger; - var docs = makeDocs(0, 10); + var docs = makeDocs(0, 20); db.bulkSave(docs); var binAttDoc = { @@ -35,6 +35,7 @@ couchTests.compact = function(debug) { for(var i in docs) { db.deleteDoc(docs[i]); } + T(db.ensureFullCommit().ok); var deletesize = db.info().disk_size; T(deletesize > originalsize); |