summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-31switch from bash to sh per issue #29joewilliams
2010-12-29Ignore closed connection after _changes are downloadedAdam Kocoloski
Closes COUCHDB-993 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1053659 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29Stem revision trees after merging a path, COUCHDB-968Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1053519 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29Skip recursive path merging, COUCHDB-968Adam Kocoloski
This patch ensures that we only ever merge a linear path into the tree. It relies on the stemming code to collapse paths that could have been merged together by a recursive use of merge_one. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1053518 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23Merged revision 1052227 from trunk:Filipe David Borba Manana
Fix: replicator didn't use the HTTP settings defined in the .ini config Issue found by Randall Leeds. Thanks. Closes COUCHDB-992 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1052228 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22Merged revision 1052031 from trunk:Filipe David Borba Manana
Make sure attachments get compressed when their MIME type lists parameters Closes COUCHDB-996. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1052035 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20Use mem3 to get dbname instead of doing pattern matching directlyRobert Dionne
2010-12-20Merged revision 1051082 from trunkFilipe David Borba Manana
Upgraded ibrowse to version 2.1.2 (released today) This version fixes a blocking issue (which rarely happens) when using the same connection (with ot without pipelining) for multiple requests using the option {stream_to, {pid(), once}}. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1051084 13f79535-47bb-0310-9956-ffa450edef68
2010-12-18Merged revision 1050633 from trunkFilipe David Borba Manana
Upgrade ibrowse to version 2.1.1 This ibrowse release includes a few important fixes. See https://github.com/cmullaparthi/ibrowse for the list of fixes. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1050635 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14Fix OOME when compacting doc w/ lots of conflicts, COUCHDB-888Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1049257 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13COUCHDB-984 - Backported fix for spinner.gifPaul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1045208 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10Updated CHANGES for 1.0.2 to reflect COUCHDB-980Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1044290 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10Merged revision 1043524 from trunkFilipe David Borba Manana
Calculate and verify MD5 digests outside of a couch_file server This has a significant positive impact on the performance, both for readers and writers, when there are several requests in parallel acessing the same database or view index file. $ node tests/compare_write_and_read.js --wclients 100 --rclients 200 \ -name1 md5_out -name2 trunk \ -url1 http://localhost:5984/ -url2 http://localhost:5985/ \ --duration 120 run 1) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe271105130c run 2) http://graphs.mikeal.couchone.com/#/graph/5c859b3e7d1b9bd0488cfe2711051bba Closes COUCHDB-980 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1044284 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09Log the request IDAdam Kocoloski
2010-12-09Support per-shard view compaction w/ non-local design docs, closes #16Robert Dionne
2010-12-09Add support for inclusive_end to fold_reduce, BugzID 11069Robert Dionne
2010-12-08update CHANGES and NEWS for COUCHDB-968Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043600 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Fix compactor crash when .compact file is missing headerAdam Kocoloski
Users affected by COUCHDB-968 can take advantage of this patch to force a compaction in retry mode and thus remove the duplicates. Simply create an empty dbname.couch.compact file in the database_dir before triggering the compaction for dbname. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043543 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Change key_tree merge to take path as 2nd arg, add type specsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043480 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Usort the infos during compaction to remove dupes, COUCHDB-968Adam Kocoloski
This is not a bulletproof solution; it only removes dupes when the they appear in the same batch of 1000 updates. However, for dupes that show up in _all_docs the probability of that happening is quite high. If the dupes are only in _changes a user may need to compact twice, once to get the dupes ordered together and a second time to remove them. A more complete solution would be to trigger the compaction in "retry" mode, but this is siginificantly slower. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043479 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Prefer values from old tree when merging, COUCHDB-968Adam Kocoloski
This commit represents a substantial refactor of the key tree merging logic, some of which is not strictly necessary for the resolution of COUCHDB-968. Two etap test cases checking the ability to merge in a non-linear tree are removed because the functionality is no longer supported. CouchDB only ever merged a linear revision history into an existing revision tree. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043478 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Stem new rev tree before comparing with old one, COUCHDB-968Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043476 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07Merged revision 1023274 from trunk:Filipe David Borba Manana
Replicator: fix issues when a peer is accessible via SSL. Closes COUCHDB-491. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043193 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07Merged revision 1043186 from trunk:Filipe David Borba Manana
Replicator improvement: send "unauthorized" error message instead of "db_not_found" when a remote endpoint can not be accessed due to authorization. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1043187 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06make troubleshooting link actually a linkjoewilliams
2010-12-06added troubleshooting link to readmejoewilliams
2010-12-06 * put the common.js launchpad ppa into its own .list filetill
2010-12-05Drop version number after aborting the vote.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1042342 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02update to rebar with `git describe` smartsAdam Kocoloski
2010-11-25Tagging 1.0.2Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1039125 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25Update the signing key in SVN.Paul Joseph Davis
Need to make sure that the tarball reflects the tag exactly. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1039124 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25Merged revision 1039118 from trunk:Filipe David Borba Manana
Even if sealing of an array is not allowed in the installed SpiderMonkey version, seal its members. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1039121 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24Tagging 1.0.2Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1038699 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24Updating the version for the 1.0.2 release.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1038693 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23Updated CHANGES for release 1.0.2 to reflect tickets COUCHDB-790 and ↵Filipe David Borba Manana
COUCHDB-925. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1038275 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23Merged revision 1038193 from trunk:Filipe David Borba Manana
Seal documents before passing them to map functions (JavaScript view server only). This prevents one map function from modifying a document before it's passed to another map function. Has no effect on array fields for some Spidermonkey versions (see https://bugzilla.mozilla.org/show_bug.cgi?id=449657). Closes COUCHDB-925. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1038196 13f79535-47bb-0310-9956-ffa450edef68
2010-11-23be sure to clean out old etap .beamsAdam Kocoloski
2010-11-23allow override of DIRPATHAdam Kocoloski
2010-11-22bundle etap bytecode instead of including full application sourceAdam Kocoloski
Also update test relying on obsolete etap API.
2010-11-22update to rebar @ 57eca0Adam Kocoloski
2010-11-21Merged revision 1037448 from trunk:Filipe David Borba Manana
Proper verification of the roles property of a user document. Closes COUCHDB-790. Thanks Gabriel Farrell. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037449 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20Merged revision 1037245 from trunk:Filipe David Borba Manana
Fix recursive call: recursivelySeal is not defined within the body of the anonymous function declaration. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037246 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20Merged revision 1037213 from trunk:Filipe David Borba Manana
Bug fix: using undeclared identifier (doc). The function argument is named obj, not doc. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037215 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20Send a user friendly error message when rewrite rules are a String,Jan Lehnardt
not a JSON Array. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1037196 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19Undo overzealous escaping.Jan Lehnardt
Patch by Gabriel Farrell. Closes COUCHDB-948. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036833 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19Updated CHANGES for release 1.0.2 and fixed one typo.Filipe David Borba Manana
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036824 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19Merged revision 1036705 from trunk:Filipe David Borba Manana
Make sure that after a local database compaction the old database reference counters don't get unreleased forever because of a continuous (or long) replication is going on. Same type of issue as in COUCHDB-926. Thanks Adam Kocoloski for some suggestions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036711 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18Merged revision 1036627 from trunk:Filipe David Borba Manana
Preserve user context when reopening a database. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036629 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18COUCHDB-957 - Show an error message if trying 'Compact View' without ↵Robert Newson
selecting a view, rather than compacting the associated database by mistake. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036487 13f79535-47bb-0310-9956-ffa450edef68
2010-11-18refine descriptions in CHANGES and NEWSJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036475 13f79535-47bb-0310-9956-ffa450edef68