Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bubble up missing_stub exceptions for proper retry1901-atomic-multipart-retries | Adam Kocoloski | 2013-10-02 | 1 | -0/+2 |
| | | | | | | | A missing_stub exception is special in that the replicator retries the request without the atts_since optimmization. COUCHDB-1901 | ||||
* | Be a bit nicer about logging | Adam Kocoloski | 2013-10-02 | 1 | -1/+9 |
| | |||||
* | Simplify doc_streamer initialization | Adam Kocoloski | 2013-10-02 | 1 | -12/+12 |
| | | | | | | | | The unlink at the end is a noop, so we can simplify this to use spawn_link/3 and the fully-exported function call instead of spawn_link/1 and a closure. BugzID: 20822 | ||||
* | Disable automatic retries of streaming writes | Adam Kocoloski | 2013-10-02 | 1 | -2/+6 |
| | | | | | | | | | An automatic retry makes no sense here, as we've already streamed part of the response body from the GET. Disabling the retries bubbles the error up to run_user_fun inside open_doc_revs allows us to retry the whole GET + PUT correctly. BugzID: 20822 | ||||
* | Ensure the att reader learns of a Parser death | Adam Kocoloski | 2013-10-02 | 1 | -0/+1 |
| | |||||
* | Handle open_revs retries at a higher level | Adam Kocoloski | 2013-10-02 | 1 | -31/+67 |
| | | | | | | | | | | This patch disables the httpc client retries for the request to stream document revisions to the replicator. The retry logic at that level could end up jumbling together response body data from different requests and thoroughly confusing the multipart parser. Moving the retry logic up a level allows us to start fresh each time. BugzID: 21367 | ||||
* | Fix replication deadlock after HTTP retries | Paul J. Davis | 2013-10-02 | 1 | -3/+33 |
| | | | | | | | | | | | | | An HTTP failure in the open_doc_revs can lead to a replication deadlock if the retry happens while parsing the multipart/mime response. The UserFun callback can end up attempting to PUT a request using an attachment reader from the failed request while the pid that invoked open_doc_revs will never see the started_open_doc_revs message which indicates a retry has happened. This just spawns a middleman process so that the process that invoked open_doc_revs can listen for the response from the user function as well as the started_open_doc_revs message to handle retries appropriately. | ||||
* | Avoid deadlocking the httpc pool | Paul J. Davis | 2013-10-02 | 1 | -0/+14 |
| | | | | | | | | | The multipart mime parsing code was getting into a state where it would orphan parsers that held onto pool connections. This just adds a monitor to make sure that the parser process dies when the parent dies normally without finishing reading the rest of the parser. BugzID: 16751 | ||||
* | Use latest=true when retrieving revisions | Bob Dionne | 2013-10-02 | 2 | -2/+4 |
| | | | | | | | This allows the replicator to keep up with revisions that may have occured after missing_revs was called. BugzID: 14241 | ||||
* | Revert to checking both files, but give .in priority. | Dirkjan Ochtman | 2013-10-02 | 1 | -1/+4 |
| | |||||
* | Make JS test runner work with single file | Volker Mische | 2013-10-01 | 1 | -1/+1 |
| | | | | | | Commit 9dfddaa7bf30d30c8fbbc4e1cc2bff4dc35dadac broke running the JavaScript test runner with a single file. It just did not run the test. | ||||
* | Don't start or stop if COUCHDB_NO_START is set | Volker Mische | 2013-10-01 | 1 | -2/+7 |
| | | | | | | The JavaScript test runner should not try to start or stop the CouchDB instance with ./utils/run when COUCHDB_NO_START is set. | ||||
* | Update build system to deal with disappearance of gentoo section. | Dirkjan Ochtman | 2013-10-01 | 1 | -3/+0 |
| | |||||
* | Reorganize index a bit, add more topics. | Dirkjan Ochtman | 2013-10-01 | 1 | -8/+27 |
| | |||||
* | Rename Data Replication section to just Replication. | Dirkjan Ochtman | 2013-10-01 | 2 | -4/+4 |
| | |||||
* | The Gentoo section doesn't provide any useful information, delete it. | Dirkjan Ochtman | 2013-10-01 | 2 | -30/+0 |
| | |||||
* | For consistency, always look at acinclude.m4.in for versions. | Dirkjan Ochtman | 2013-10-01 | 1 | -5/+2 |
| | |||||
* | Tweak section subtitles on the index page. | Dirkjan Ochtman | 2013-10-01 | 1 | -10/+10 |
| | |||||
* | Language tweaks for http/compaction configuration reference. | Dirkjan Ochtman | 2013-10-01 | 2 | -16/+16 |
| | |||||
* | Add configuration domain. | Alexander Shorin | 2013-10-01 | 31 | -1757/+1624 |
| | | | | | | | | | :config:section:`httpd` to point on specific section. :config:option:`httpd/port` to point on specific option. You have to use section-option pair for that due to clash of option names (ssl and replicator for example). As bonus provides complete configuration reference by section names. | ||||
* | Fix license check. | Alexander Shorin | 2013-09-28 | 1 | -1/+1 |
| | |||||
* | Merge branch '1781-reorganize-and-improve-docs' | Alexander Shorin | 2013-09-28 | 151 | -8375/+24362 |
|\ | |||||
| * | Don't run license check for Python bytecode files.1781-reorganize-and-improve-docs | Alexander Shorin | 2013-09-28 | 1 | -0/+3 |
| | | |||||
| * | Fix distcheck. | Alexander Shorin | 2013-09-28 | 1 | -0/+1 |
| | | |||||
| * | Update license skip. | Alexander Shorin | 2013-09-28 | 1 | -0/+2 |
| | | |||||
| * | Import Security chapter from Guide to CouchDB. Describe _users db. | Alexander Shorin | 2013-09-28 | 3 | -0/+529 |
| | | | | | | | | | | | | TODO: Authorization and Database Security parts. COUCHDB-1822 | ||||
| * | Make HTTP domain default one. | Alexander Shorin | 2013-09-28 | 21 | -89/+89 |
| | | |||||
| * | Add notes about multipart/related API requests. | Alexander Shorin | 2013-09-28 | 1 | -0/+150 |
| | | | | | | | | COUCHDB-1168 | ||||
| * | Describe POST /db/_changes and builtin filters. | Alexander Shorin | 2013-09-28 | 1 | -17/+213 |
| | | |||||
| * | Prepare for 1.5.0 release. | Alexander Shorin | 2013-09-28 | 3 | -1/+35 |
| | | |||||
| * | Add about page with CouchDB license. | Alexander Shorin | 2013-09-28 | 3 | -0/+29 |
| | | | | | | | | While sources are ships with all license bits, documentation artifacts lack of such. | ||||
| * | Provides short description for the HTTP API reference entries. | Alexander Shorin | 2013-09-28 | 3 | -3/+89 |
| | | | | | | | | | | | | The description is defined within special JSON file instead of markup attributes. There should be way to hack sphinx for this, but currently I don't know how to do this. Hope this will be fixed in nearest future. | ||||
| * | Stabilize order of HTTP API reference entries. | Alexander Shorin | 2013-09-28 | 1 | -1/+15 |
| | | |||||
| * | Normalize API path's params names. | Alexander Shorin | 2013-09-28 | 4 | -24/+24 |
| | | |||||
| * | Update Fauxton docs links. | Alexander Shorin | 2013-09-28 | 1 | -7/+7 |
| | | |||||
| * | docs: update the updates | Dave Cottlehuber | 2013-09-28 | 3 | -13/+24 |
| | | |||||
| * | docs: update api/database section | Dave Cottlehuber | 2013-09-28 | 5 | -23/+46 |
| | | |||||
| * | docs: ensure scope of server administrator is clear | Dave Cottlehuber | 2013-09-28 | 5 | -18/+18 |
| | | |||||
| * | docs: update changes | Dave Cottlehuber | 2013-09-27 | 1 | -23/+30 |
| | | |||||
| * | docs: update bulk-api | Dave Cottlehuber | 2013-09-27 | 1 | -9/+25 |
| | | |||||
| * | docs: basics.rst extend floating point explanation | Dave Cottlehuber | 2013-09-27 | 1 | -6/+16 |
| | | |||||
| * | Fix main TOC tree reference. | Alexander Shorin | 2013-09-27 | 2 | -5/+5 |
| | | |||||
| * | Limit sections enumeration. | Alexander Shorin | 2013-09-27 | 1 | -1/+1 |
| | | |||||
| * | docs: use sphinx automatic version numbers for protocol responses | Dave Cottlehuber | 2013-09-27 | 23 | -95/+95 |
| | | |||||
| * | Improve grammar, text flow in new configuration docs. | Dirkjan Ochtman | 2013-09-27 | 5 | -107/+160 |
| | | |||||
| * | Remove duplicate MacPorts instructions. | Dirkjan Ochtman | 2013-09-27 | 1 | -30/+0 |
| | | |||||
| * | fix problem when LOCAL_VERSION_RELEASE isn't set | Dirkjan Ochtman | 2013-09-27 | 1 | -1/+1 |
| | | |||||
| * | Add missed theme's files. | Alexander Shorin | 2013-09-27 | 1 | -0/+2 |
| | | |||||
| * | Make main page a bit nicer and friendly. | Alexander Shorin | 2013-09-27 | 5 | -5/+189 |
| | | | | | | | | Looks weird and empty, but we'll fix it later with more content and redesign. | ||||
| * | Swap maintenance-replication sections. | Alexander Shorin | 2013-09-27 | 1 | -1/+1 |
| | |