summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-03Added batching of multiple updating requests, to improve throughput with ↵Damien F. Katz
many writers. Also removed the couch_batch_save module, now batch requests are simply saved async as immediately, batching with outhr updates if possible. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832550 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03only 1 timer at a time (e.g. flush/1). thanks tisba for the report. COUCHDB-539Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832519 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03eliminate new process flood after OS wakes from sleep. COUCHDB-539Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832477 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03Allow updating a doc along with an attachment when posted from anJan Lehnardt
HTML form. Patch by Robert Newson. Closes COUCHDB-436. We still need tests for the entire form-upload function. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832427 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02cast string status codes (from _externals) to integers before logging. ↵Adam Kocoloski
COUCHDB-551 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832091 13f79535-47bb-0310-9956-ffa450edef68
2009-11-02only test list old api for js query serversJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@832034 13f79535-47bb-0310-9956-ffa450edef68
2009-10-31List functions weren't returning OS processes.Paul Joseph Davis
Needed to add a call to couch_query_server:stop_map_doc/1 to return outstanding OS processes back to the query servers pools. This was causing some awesome errors by keeping the query_servers PID linked to the socket PID, which caused errors in apparently unrelated requests as the query_servers daemon was restarted on config changes. Also needed to move where the query servers were requested in list functions involving reduces. Map only lists were fine though. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@831502 13f79535-47bb-0310-9956-ffa450edef68
2009-10-30Closes COUCHDB-547 - Adding a View Compaction ButtonPaul Joseph Davis
Thanks to Joshua Bronson for the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@831485 13f79535-47bb-0310-9956-ffa450edef68
2009-10-29write config changes much faster - see COUCHDB-545. Thanks Gustavo NiemeyerAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@830832 13f79535-47bb-0310-9956-ffa450edef68
2009-10-28reboot replication from last checkpoint if DB is compacted or server restartsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@830737 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27Make it harder to accidently terminate chunked resposnes by requiring ↵Damien F. Katz
callers to explicity call last_chunk(Req) and ignoring send_chunk calls with no data. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@830353 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27Fixed a minor bug with attachments of zero length.Paul Joseph Davis
The Erlang PID handling the request would crash after headers were sent so that the browser never noticed but my cURL client did. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@830056 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26_changes response might have completed alreadyAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829920 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26asking for a missing rev with ?rev or ?open_revs was a 500 responseAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829919 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26replication client should use inactivity timeout on changes feedAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829871 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Fixed the test for couch_stats_aggregator.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829456 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24use couch_util:priv_dir() b/c it works in dev mode tooAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829432 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Update functions can now handle any HTTP verb, excepting GET and HEADJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829419 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24Move stat descriptions out of the config.Paul Joseph Davis
This lists stat descriptions in an Erlang term file to avoid abusing the config system. Uses a file in CouchDB's priv directory that is a list of three-tuple terms. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829304 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23improved speed and concurrency of config lookupsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@829123 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22Improve OAuth error message for missing tokens.Paul Joseph Davis
Added a test in oauth.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@828836 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20More pedantry.Jason David Davies
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@827740 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20typoJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@827720 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19Fix bug when lists use two design docs.Paul Joseph Davis
The language was being pulled from the wrong doc in the pair. Also removed some unused variables. Added a test in list_views.js git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826692 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18log external reqests like any other requestsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826345 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18case sensitivityJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826343 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17Fixing build issues.Paul Joseph Davis
Remove bench/out.file debug log from SVN. Prevent bench/out.file from being built. Added etc/windows/README.txt.tpl to license.skip git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826319 13f79535-47bb-0310-9956-ffa450edef68
2009-10-17have 'make dist' build a windows installer on windowsMark Hammond
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826173 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16added bench/ directory to trunk, contains 2 benchmark suites.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@826097 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16being pedantic^WconsistentJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825894 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15Add support for other OAuth signature methods in replication client.Jason David Davies
To use, set auth.oauth.signature_method to either "HMAC-SHA1" (the default if not specified) or "PLAINTEXT". git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825693 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15add 0.11 NEWS items, please help filling the blanksJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825561 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15add 0.10 NEWS items, please help filling the blanksJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825559 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15Only check for admin user if we are trying to create a database. Thanks to ↵Jan Lehnardt
Bob Dionne for testing the patch. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825485 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15also fix attachment redirectsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825407 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15bugfixes for redirects in replication and iolists in OAuth qs paramsAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825401 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14Must remember to update news.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825271 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14Fix a bug in the couch.app generation.Paul Joseph Davis
The couch.app module list was using '*.erl' to list the modules. This causes issues if weird backup files are introduced into that directory. It appears that copying to and from HFS file systems can result in files with a prefix of '._' so that we had '._couch_server.erl' amongst other things which would then be in the couch.app module list, which would then prevent the server from booting properly. As in, it would just halt before any CouchDB code was ever run. The fix is to make the module list use "couch*.erl" instead. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825268 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14Fix typo.Jason David Davies
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825047 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14dont save so many test reportsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825021 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14save report with node version infoJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825020 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14test reports are saved properJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825019 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14tests not loadingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825018 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14save a test reportJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@825017 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13add create_target:true NEWS itemJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824976 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13Updating news for latest patches.Paul Joseph Davis
I'm going to attempt to keep this up to date a bit better than I have in the past. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824975 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13Add more information to the view info objects.Paul Joseph Davis
View info is available at the URL: http://127.0.0.1:5984/db_name/_design/ddocid/_info New fields include: updater_running [true|false] : Whether the view is being built waiting_commit [true|false] : Whether this view is a head of db commits waiting_clients [integer] : How many clients are waiting on this view update_seq [integer] : The update sequence that has been indexed purge_seq [integer] : The purge sequence that has been processed Other fields for reference: signature [string] : The md5 signature of the design document's functions language [string] : The language of the design document disk_size [integer] : Number of bytes the view file occupies on disk compact_running [boolean] : Whether the view is currently being compacted git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824970 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13Fix partial view updating regression.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824968 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13Fix new create_target replication option when OAuth is being used.Jason David Davies
Closes COUCHDB-525. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824954 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12Send 400 error when bad OAuth token is received.Jason David Davies
This closes COUCHDB-522. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@824290 13f79535-47bb-0310-9956-ffa450edef68