summaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2011-01-07BugzID: 11589 call file:close explicitly to keep VM responsiveRobert Newson
Deleting a large file in the previous scheme has caused the Erlang VM to become unresponsive (including making it drop out of the ring of nodes). The cause of this is currently unknown but Adam discovered that explicitly calling file:close/1 on the file descriptor does not cause this behavior. Accordingly, I have typed in his suggested fix and tested it.
2011-01-07Revert "11589 - explictly close file descriptor in couch_file"Robert Newson
This reverts commit a14326a92817d5013c50887d52aaca10cf91d84d.
2011-01-0711589 - explictly close file descriptor in couch_fileRobert Newson
Adam discovered that explicitly calling file:close/1 on the file descriptor does not cause the node to become unresponsive and drop out of the ring.
2011-01-06Refactor OS process managementAdam Kocoloski
Squashed commit of the following: commit a9cd9681f6c88f0f3c019e98e2edfef55cad0129 commit eb38bca08ffbf778b69fbb2d612e23733af82ff5 commit 98a03a079ab24f2c7bd9e0d6d7fac5fa62bfd4eb commit 9b8ec059165d981e4cd743008ecdf393a4f37f61 commit 3a891c1dd9a17fdd267c423b340dd09c31c89d7a commit 68351dd181c8a92b5baa9ac23f25c7c191484394 commit e4384a517e2efeac9231701898a6c67213642319 commit cd954661422d0ef146b5bd7792f835dcc4220c84 commit 3bcca92c7c0102d5722dfc6b2c332766cfe0370c commit 82d15f40f503b2609cf785ce2837e1280edaaa43 commit 70051abbd699e076452d772587c32ee5e09bdcbc commit 7f01d37781e7774015f6cb34f795b28db9ecc9f5 BugzID: 11572 See also COUCHDB-901 A new config setting is introduced. The following block controls the maximum number of OS processes that will be reused. Additional OS processes will still be spawned on-demand, but they'll be terminated when the clients are through with them. [query_server_config] os_process_soft_limit = 100
2011-01-04Merge pull request #29 for FreeBSD compatibilityAdam Kocoloski
2011-01-02Allow client to specify a timeout when opening a DBAdam Kocoloski
2011-01-01freebsd compatbenoitc
2010-12-20Use mem3 to get dbname instead of doing pattern matching directlyRobert Dionne
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-11-22bundle etap bytecode instead of including full application sourceAdam Kocoloski
Also update test relying on obsolete etap API.
2010-11-01fixed deprecation warningRobert Dionne
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-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-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-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-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-01minor tweak from Adam to fix replication, change method spec to correct ↵Robert Dionne
method for view_cleanup
2010-09-13accept logins with 'name' instead of 'username', thanks artembAdam Kocoloski
2010-09-06remove fail_on_warning, closes #2Adam Kocoloski
Warnings appear to be unavoidable if we want to support R13B03 and R14A
2010-09-06support for filtered _changes on multi-node clusters, closes #5Adam Kocoloski
2010-09-03suppress http:request/4 deprecation warning. Closes #2Adam Kocoloski
2010-09-03s/Cloudant/BigCouchAdam Kocoloski
2010-09-03support for _view_cleanup via HTTPAdam Kocoloski
2010-09-01pass W from Req to fabric properlyBrad Anderson
2010-09-01whitespaceBrad Anderson
2010-08-29fix heartbeat for _changes feedsAdam Kocoloski
2010-08-27use couchspawnkillable from privdir instead of overlayAdam Kocoloski
2010-08-27add README.md back in for appsBrad Anderson
2010-08-27my name is BigCouchAdam Kocoloski
2010-08-27split some rexi utilities out from fabricBrad Anderson
2010-08-27use dbcore not corejoewilliams
2010-08-27fix a bad cherry-pickAdam Kocoloski
2010-08-27display full cluster update_seq in get_db_info()Adam Kocoloski
2010-08-27fix "Mike's bug" with attachment uploading. BugzID 10742Adam Kocoloski
2010-08-27avoid deadlocks when changing query_servers configs, BugzID 10679Adam Kocoloski
2010-08-27tolerate view groups initializing during DB deletionAdam Kocoloski
2010-08-27implement cleanup_index_files()Adam Kocoloski