summaryrefslogtreecommitdiff
path: root/src/couchdb
AgeCommit message (Collapse)Author
2009-03-07rewrite replicator using OTP behavioursAdam Kocoloski
- only one instance of given source->target runs at a time - supervisor restarts replications that terminate abnormally - pull repl. streams attachments directly to disk - improved memory utilization - temporarily rollback parallel async doc GETs during pull rep. - replication updates show up in Futon Status window git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751305 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06configure view and external server timeout in using ini variables.John Christopher Anderson
closes COUCHDB-246 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@751020 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06validate reduce view list queries, make query_parse_error response code 400John Christopher Anderson
thanks Jan, thanks Jason Davies. closes COUCHDB-283 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750969 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06tiny refactor of validate_attachment_name for pattern matchingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750699 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06Verify attachment names. They must be utf-8 (closes COUCHDB-280) and must ↵Jan Lehnardt
not start with an underscore. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750695 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05allow multi-key POST requests for _list. John Christopher Anderson
closes COUCHDB-269. thanks Jason Davies git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750565 13f79535-47bb-0310-9956-ffa450edef68
2009-03-05consistency in messages (HTTPd -> httpd)Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750430 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04refactor show 404 handling doc-loading special case out of couch_httpd_db.erlJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749902 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04allow for handling 404s in document show functionsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749852 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03stats metrics renamed: os_open_files -> open_os_files, database_changes -> ↵Jan Lehnardt
database_writes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749583 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02fix capitalisation for MochiWeb in stats descriptionJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749419 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02fix error for when no stats have been collected yet and /_stats is queriedJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@749412 13f79535-47bb-0310-9956-ffa450edef68
2009-02-28supply etags for reduce view listsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748754 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- remove unused aggregate metrics fieldJan Lehnardt
- return an empty object when there are no stats git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748622 13f79535-47bb-0310-9956-ffa450edef68
2009-02-27- group HTTP method stats into httpd_requests_methods as per Christopher ↵Jan Lehnardt
Lenz's suggestion - renamed http_status_codes to httpd_status_codes - better internal variable naming - remove comments that were leftovers from earlier refactoring git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748582 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26remove the no longer existing couch_file_stats from couch_primary_servicesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748326 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26Add style guide for stats descriptions and adjust existing descriptions ↵Jan Lehnardt
accordingly. Thanks to Noah Slater for suggesting the style. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748309 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26Fix and test for file descriptor leaksDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748299 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26- add descriptions to metricsJan Lehnardt
- move document_* metrics to couch_db module and merge them into database_* metrics git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748217 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25add js test suite for stats, enable access for a previously internal metricJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747852 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25Support for reduce views in _list. closes COUCHDB-260. Thanks Jason Davies.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747679 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24added newline to JSON responses, closes COUCHDB-107Noah Slater
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@747465 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22add couch_stats.hrl to distribution filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746768 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22add missing filesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746734 13f79535-47bb-0310-9956-ffa450edef68
2009-02-22Add runtime statistics -- without EUnit tests for now.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@746691 13f79535-47bb-0310-9956-ffa450edef68
2009-02-17Put file ref_counting into it's own module, to make the speed of opening an ↵Damien F. Katz
already open database faster (by not waiting on file pending operations, particularly fsync). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@745076 13f79535-47bb-0310-9956-ffa450edef68
2009-02-15View etags are now provided. See note in the source about how they could be ↵John Christopher Anderson
more efficient. Changes arity on make_view_fold_fun etc. Closes COUCHDB-4 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744747 13f79535-47bb-0310-9956-ffa450edef68
2009-02-14enhance the Mochiweb streaming api based on feedback from Bob IppolitoJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744309 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13apply COUCHDB-252.John Christopher Anderson
Allow _list functions to signal that iteration of the view should cease. Thanks davisp. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744240 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13Apply COUCHDB-251. John Christopher Anderson
Allow _list functions to accept arbitrary GET parameters. Thanks Paul Davis. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744210 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13fix COUCHDB-253. Replicator should not use chunked transfer-encoding on GET ↵John Christopher Anderson
requests. thanks Adam Kocoloski git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@744193 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13Accept standalone attachment PUTs with Transfer-Encoding: chunked John Christopher Anderson
Includes a patch to mochiweb_request that is under review for inclusion upstream. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743971 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12Fix for spurious 'server restarted' during replicationDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743801 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12allow user-configurable directory for view indexes.John Christopher Anderson
closes COUCHDB-168. thanks Adam Kocoloski git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743653 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11Changed _uuid to respond to GET instead of POST. Bug COUCHDB-190Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743373 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11Fix for COUCHDB-238, explicit check and error for doc ids starting with ↵Damien F. Katz
underscore. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@743371 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09allow format query param to override accept headers for _list and _showJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742217 13f79535-47bb-0310-9956-ffa450edef68
2009-02-08extract method couch_httpd:send_redirect(Req, Path)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@742158 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01Added options member to design docs. Currently the only option is ↵John Christopher Anderson
include_designs (views can now run over design docs as well if they need to), the default is false, which is the current behavior. Thanks davisp for the original patch. Closes COUCHDB-156 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739866 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01via davisp: external server launches on request to avoid runaway errors.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739681 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30all_docs view with descending=true works properly now. fix COUCHDB-109John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739170 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30cleanup long linesJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739169 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30swap 412 ad 409 error codes. fixes COUCHDB-226John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739157 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30use the config setting for max document size. fixes COUCHDB-60John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739153 13f79535-47bb-0310-9956-ffa450edef68
2009-01-30POST to create docs returns a Location header. fixes COUCHDB-8John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739133 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29Replacement of inets with ibrowse. Fixes COUCHDB-179 and enhances replication.John Christopher Anderson
Thanks Jason Davies and Adam Kocoloski for the fix, Maximillian Dornseif for reporting. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@739047 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27Improved etag handling for show funcs and db_doc requests; main.js cleanup ↵John Christopher Anderson
(baby steps); null doc allowed for show funcs git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@738237 13f79535-47bb-0310-9956-ffa450edef68
2009-01-26Change _slow_view back to _temp_view, as discussed on the mailing list (see ↵Christopher Lenz
http://markmail.org/message/o44cafucgwlpudov). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737859 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25more informative error message on a bad json documentJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737538 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24Make command line test suite succeed again. Patch by Bob Dionne.Jan Lehnardt
Closes COUCHDB-212. Thanks Bob. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737335 13f79535-47bb-0310-9956-ffa450edef68