summaryrefslogtreecommitdiff
path: root/share/www/script/test/recreate_doc.js
AgeCommit message (Collapse)Author
2011-09-28Rest of the fix for COUCHDB-1265Paul Joseph Davis
As a follow up to COUCHDB-1265 I was missing the fact that after the insertion of a new update_seq into an internal node it is quite possible that a compaction runs before the doc is updated again. This is important because compaction removes information of the largest update seq from the tree itself. The fix is simple to include the update_seq from the #full_doc_info{} record when calculating #doc_info.high_seq. The way to think of this is that it's the maximum value from all known values for the update sequence which can be defined as all values known in the tree or in the full_doc_info record. Backport of r1176701 from trunk git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1176704 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02Fixes COUCHDB-1265Paul Joseph Davis
Backport of 1164350 from trunk. Slightly modified for an export declaration conflict and removing a clause that only applies to trunk. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1164351 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16JavaScript test files: adding missing semi-colons (Chrome is sensitive about ↵Filipe David Borba Manana
them, but they're not mandatory according to ECMAScript spec) and removing extra commas. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@997862 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23Fix and tests for COUCHDB-292Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@883494 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16make tests fast again, use X-Couch-Full-Commit:false for all db operationsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@804727 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17Deterministic revids, MD5 checking of documents, added tracking of rev when ↵Damien F. Katz
an attachment is edited to allow attachment level replication. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@795232 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14wheeeeeeeeNoah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@794057 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15Reorganize the tests into one file per test. No other changes.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744782 13f79535-47bb-0310-9956-ffa450edef68