summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-10Merged revision 1033456 from trunk:Filipe David Borba Manana
Updated ibrowse to version 2.1.0. It contains fixes for the following important issues: - https://github.com/cmullaparthi/ibrowse/issues/closed#issue/17 - https://github.com/cmullaparthi/ibrowse/issues/closed#issue/15 - https://github.com/cmullaparthi/ibrowse/issues/closed#issue/19 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1033457 13f79535-47bb-0310-9956-ffa450edef68
2010-11-07Merged revision 1032391 from trunk:Filipe David Borba Manana
Bug fix: the separator for media types in the 'Accept' header is a comma. The semicolon separates a media type from its parameters. A more complete solution, which takes into account Q values, was submitted upstream: https://github.com/mochi/mochiweb/issues/issue/21. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1032392 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04Merged revision 1031276 from trunk:Filipe David Borba Manana
Replicator: set Content-Length header when posting to _ensure_full_commit. Same reason as for COUCHDB-932. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1031279 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03Merged revision 1030534 from trunk:Filipe David Borba Manana
Fix ibrowse 2.0.x inactivity timeouts not getting cleared. Patch submitted upstream: http://github.com/cmullaparthi/ibrowse/issues/#issue/17 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030537 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03switch ibrowse tracking branch to pick up eunit fixesAdam Kocoloski
2010-11-03update versioningAdam Kocoloski
2010-11-03We don't have MOVE requests. No need to track them.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030432 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03typoJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030411 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03Merged revision 1030405 from trunk:Filipe David Borba Manana
Replicator fix: add Content-Length header to the request that creates the remote DB. Closes COUCHDB-932. Patch by Dale Harvey. Thanks. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030406 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02Escape URL and cookie input.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1030262 13f79535-47bb-0310-9956-ffa450edef68
2010-11-01fixed deprecation warningRobert Dionne
2010-10-26use get-deps for oauthAdam Kocoloski
2010-10-26use get-deps for oauthAdam Kocoloski
same deal as before - the Cloudant fork contains CouchDB-specific patches and rebar fixes.
2010-10-26use get-deps for ibrowseAdam Kocoloski
As with mochiweb, the dependency URL is a Cloudant fork which contains the exact code (modulo whitespace) used in CouchDB releases.
2010-10-26fix updating of tagged dependenciesAdam Kocoloski
2010-10-26hack to ensure couch/ebin always existsAdam Kocoloski
2010-10-26use get-deps for mochiwebAdam Kocoloski
We need to host our own mochiweb which tags the versions used by CouchDB. This commit also contains a new rebar with a patch to fix git tag dependencies (submitted upstream).
2010-10-25use get-deps to pull down individual cloudant projectsAdam Kocoloski
2010-10-25Merged revision 1027215 from trunk:Filipe David Borba Manana
GET /db/_design/doc/_info should not trigger an update. Closes COUCHDB-858. Patch by Klaus Trainer. Thanks Klaus. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1027228 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23remove inadvertent commitAdam Kocoloski
2010-10-23b25b5b was sloppy, erlang:send_after/3 does not wrap w/ okAdam Kocoloski
2010-10-21use erlang:send_after/3 instead of timer versionAdam Kocoloski
http://www.erlang.org/doc/efficiency_guide/commoncaveats.html#id52228
2010-10-21generate surefire reports from eunitAdam Kocoloski
2010-10-21fix temp_view undef.Robert Newson
2010-10-20lightweight replicator for use with internal replicationAdam Kocoloski
The checkpoint ID generation algorithm needs to be insensitive to shards moving from node to node. I think the right solution is to tag each #shard{} with a UUID and use that UUID in the _local ID.
2010-10-20let rebar manage the module listsAdam Kocoloski
2010-10-20repair should run with R=NAdam Kocoloski
2010-10-20checkpoints reuse session_id. Patch by tilgovi. COUCHDB-704Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1025574 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19use new read repair and ancestry checks in fabric:open_doc/3Adam Kocoloski
2010-10-19remove_ancestors/2 will be generally usefulAdam Kocoloski
2010-10-19fix quorum check and be sure repair runs when revs are missing w/ open_revs=allAdam Kocoloski
2010-10-19fix DB compaction failing to switch over. Reported by rnewsonAdam Kocoloski
2010-10-19suppress unused variable warningAdam Kocoloski
2010-10-19improved read quorum and repair for open_revsAdam Kocoloski
There are important distinctions between requests with open_revs=all, requests with an explicit revision list and latest=true, and a simple revision list. When open_revs=all, we take the union of all revisions returned by the workers, then reduce it by filtering out ancestors on each edit branch. An ancestor counts towards the descendant's read quorum. If an explicit revision list is given, a worker can respond with {{not_found, missing}, Rev}, an {ok, #doc{}} corresponding to the rev in question, or an {ok, #doc{}} with a newer revision if latest=true is supplied. not_found is considered to be an ancestor of any {ok,_} revision for quorum purposes. Down workers do not contribute to the read quorum. If workers disagree at all on the response, read repair will run asynchronously. The repair tries to save all the latest #doc{} records (i.e. the ones w/o descendants) which were received during the voting. BugzID 11047
2010-10-18Avoid occasional stalling of Futon in Firefox.Jan Lehnardt
Closes COUCHDB-896. Patch by Dale Harvey. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1023808 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16fixed command for installing prerequisites on UbuntuFredrick Galoso
2010-10-12Merge revision 1021811 from trunk:Filipe David Borba Manana
Avoid gen_server call timeout error after compacting a database (seems to happen only for large DBs, but not always). git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1021812 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09Merged revision 1006181 from trunk:Filipe David Borba Manana
Bug fix: when receiving the compact_done message, make sure the gen_server unlinks itself from the compactor process and purges the compactor's exit message from its mailbox. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1006182 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01minor tweak from Adam to fix replication, change method spec to correct ↵Robert Dionne
method for view_cleanup
2010-10-02using an infinity timeout in places where we wait on disk ioJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1003726 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02backport r1003701 (fix db file ref count in view generationJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1003718 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25Merged revision 1001184 from trunk:Filipe David Borba Manana
Bug fix: a user context record was being used instead of a PID. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1001186 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24Merged revision 1000880 from trunk:Filipe David Borba Manana
Upgrading ibrowse from version 1.6.2 to 2.0.1. This version fixes a serious issue regarding streaming of chunked HTTP(S) responses. The issue is that the client occasionally gets blocked or receives a timeout (if inactivity_timeout parameter is given to ibrowse). This fixes part of ticket COUCHDB-491. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1000883 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16Merged revision 997675 from trunk:Filipe David Borba Manana
Correcting ibrowse version number. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997678 13f79535-47bb-0310-9956-ffa450edef68
2010-09-16Merged revision 997547 from trunk:Filipe David Borba Manana
Replicator bug fix: properly stop link worker processes to avoid noproc exceptions crashing the replicator's changes feed reader process. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997548 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14Merged revision 997152 from trunk:Filipe David Borba Manana
Replicator bug fix: make sure a replication fails when there's a stale connection to a remote DB's _changes. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@997153 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13accept logins with 'name' instead of 'username', thanks artembAdam Kocoloski
2010-09-13Merging revision 985730 from trunk:Filipe David Borba Manana
Bumping ibrowse library to version 1.6.2 (latest). It has a few important bug fixes and new features, such as, for example: 1) fixes https requests not going via the proxy; 2) added SSL support for direct connections; 3) fixes to URL parsing; 4) added option headers_as_is This is important since it fixes replication through a proxy not working with HTTPS. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996520 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13Merged revision 996492 from trunk:Filipe David Borba Manana
Replicator changes: 1) avoid badmatch exceptions when there's a failure opening a single document from a remote source; 2) add error log messages describing which remote documents couldn't be opened and why; 3) when replications errors can't be encoded as json, convert and send them as json strings Closes COUCHDB-884. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996493 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13Merged revision 996458 from trunk:Filipe David Borba Manana
Bug fixes: 1) requests to remote /db/_changes were discarding the proxy options; 2) handle redirect code 302 besides 301 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@996460 13f79535-47bb-0310-9956-ffa450edef68