summaryrefslogtreecommitdiff
path: root/src/couchdb
AgeCommit message (Collapse)Author
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
2009-01-24Don't let a failing db update notification client bring down the entireJan Lehnardt
view_server. Patch by Adam Kocoloski. Closes COUCHDB-206. Thanks Adam. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737334 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24Improve show/list API and send external responses without chunked as it's ↵John Christopher Anderson
not needed. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@737304 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23Added task status checking, to help debug the progress of long running ↵Damien F. Katz
tasks, like view indexing and compaction. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736906 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23View list functions can stream views in any format. See list_views test for ↵John Christopher Anderson
details. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22Fix some eJSON stragglers (works with mochijson2, but not eep18). thanks ↵John Christopher Anderson
kocolosk! git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736856 13f79535-47bb-0310-9956-ffa450edef68
2009-01-22change update=false to stale=okJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736837 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21don't log thrown errors in http requests, just things like badmatch etcJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@736194 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19tests for fix to COUCHDB-215, and changing of how max_dbs_open setting is ↵Damien F. Katz
handled at runtime. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735875 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19fix for COUCHDB-214 (design docs on dbs with slashes)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735850 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19Fix for COUCHDB-215, we weren't properly converting a config setting to an ↵Damien F. Katz
integer. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735817 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19catch all error handling for HTTP requestsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735803 13f79535-47bb-0310-9956-ffa450edef68
2009-01-15Support for streaming attachment writes.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734849 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12Fix for broken conflict checking inside the db update process.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733917 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12Fix WhitespaceJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733674 13f79535-47bb-0310-9956-ffa450edef68
2009-01-12rename _form to _show and move the funcs in the design doc to design.show.docsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733576 13f79535-47bb-0310-9956-ffa450edef68
2009-01-11Polishing _design/doc urls with slashes -- adding auto redirect from the old ↵John Christopher Anderson
%2F style urls to the new pretty ones. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733461 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10include_docs error handlingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733305 13f79535-47bb-0310-9956-ffa450edef68
2009-01-10refactor couch_doc:to_json_obj for easier debuggingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733232 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09Added support so clients can detect if a server has potentially lost commits ↵Damien F. Katz
after multiple updates, like during bulk imports and so the replicator can detect lost commits on remote replications. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733174 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09fixed _all_docs view to use the correct PassedEndFun for binary docid sortingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@733116 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07Rebuild all .erl files when couch_db.hrl has been modified. Closes COUCHDB-199.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732528 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07friendly error message on use of count instead of limitJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732420 13f79535-47bb-0310-9956-ffa450edef68
2009-01-07apply patch to fix include docs q param parsingJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@732407 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05Fixed views to not commit index headers if they are ahead of what has been ↵Damien F. Katz
fully committed to the database. Also, the index headers are now committed async, improving response times updating views. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731618 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05Fix ini-section duplication. When we tried to assign a value to a ↵Jan Lehnardt
config-item that happened to be set to that value already, a new and duplicated ini section with that config parameter was written to the ini file. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731521 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05Delayed commit patch. Allows documents to be saved immediately but fully ↵Damien F. Katz
committed asynchronously. On by default, to fully commit documents synchronously, use X-Couch-Full-Commit=true in the http header. We still needs to prevent committing view indexes ahead of data and to detect when a server has crashed causing potentially lost updates during remote replication (fixed by retrying the incremental replication). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731452 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04change count to limit in view query paramsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731159 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04Rename _temp_views to _slow_views. Any clients who were using temp views are ↵John Christopher Anderson
encouraged not to use slow views, and instead transition to design documents (or running the views on the client). git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731144 13f79535-47bb-0310-9956-ffa450edef68
2009-01-03Added decent reporting of Mochiweb start errors (eaddrinuse etc)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@731121 13f79535-47bb-0310-9956-ffa450edef68
2009-01-02fix for update notifier with couch os process. thanks davispJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730846 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29merge form branch to trunkJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@730016 13f79535-47bb-0310-9956-ffa450edef68
2008-12-29add etags to standalone attachment requests. Closes COUCHDB-184Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729992 13f79535-47bb-0310-9956-ffa450edef68
2008-12-27design docs use slashes. attachements with slashes in the name can be ↵John Christopher Anderson
accessed with slashes in the url git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@729587 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22Fix for config api attempting list_to_binary on an atom.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728775 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22Checking in new erlang source file, used for tracking file stats.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728767 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22Fix for leaked file handles when not explicitly closed, added file stats ↵Damien F. Katz
code for checking for leaked file handles, and some refactoring of the view api. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728764 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19Fix Etag checking for document requests: need to convert Etag header value ↵Christopher Lenz
to binary early, as the `ExplicitRev` is already a binary, thus the comparison would fail. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@728177 13f79535-47bb-0310-9956-ffa450edef68
2008-12-19shorter path to _action servers, external supports better routing controlJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727973 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18fix for crash of couch_server when database non-existantDamien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727832 13f79535-47bb-0310-9956-ffa450edef68
2008-12-18Fixed problem when a crashed db can cause couch_server to crash when it ↵Damien F. Katz
attempts to interact with it. Moved the interaction from couch_server into the caller's process. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727811 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16fix COUCHDB-174 thanks Adam KocoloskiJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727182 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16Adam Kocoloski replication performance improvements (closes COUCHDB-160)John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727171 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16fix COUCHDB-177. thanks Paul Carey and Paul DavisJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727156 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16the external process handlerJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727136 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16couch_os_process to manage the JSON line protocol. thanks davisp.John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727132 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16remove couch_ft_queryJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727126 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16do not fail on heavily loaded systems. wait forever for syscalls to returnJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@727050 13f79535-47bb-0310-9956-ffa450edef68