summaryrefslogtreecommitdiff
path: root/etc/couchdb
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-07-04 15:47:47 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-07-04 15:47:47 +0000
commitf6fd760c17cb5d5d49211be4b4ff92e797e83157 (patch)
tree7b46e812de759d179898d06f9757db8b1623ea46 /etc/couchdb
parentc25c1bd826273c9ad4d1c506bd33f34bf8502056 (diff)
Name view index files by their function hashes for no downtime deploys. Closes COUCHDB-218
Adds ability to switch view indexes on the fly by building the index from a "staging" design doc, and then COPYing the staging doc to the production doc's id. Since indexes are referenced by view definition, the new version of the production design doc will point immediately to the index files already built in staging. Please use and give feedback. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791140 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'etc/couchdb')
-rw-r--r--etc/couchdb/default.ini.tpl.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in
index cfe27422..25509615 100644
--- a/etc/couchdb/default.ini.tpl.in
+++ b/etc/couchdb/default.ini.tpl.in
@@ -65,6 +65,7 @@ _sleep = {couch_httpd_misc_handlers, handle_sleep_req}
_whoami = {couch_httpd_misc_handlers, handle_whoami_req}
[httpd_db_handlers]
+_view_cleanup = {couch_httpd_db, handle_view_cleanup_req}
_compact = {couch_httpd_db, handle_compact_req}
_design = {couch_httpd_db, handle_design_req}
_temp_view = {couch_httpd_view, handle_temp_view_req}
@@ -80,3 +81,4 @@ _changes = {couch_httpd_db, handle_changes_req}
_view = {couch_httpd_view, handle_view_req}
_show = {couch_httpd_show, handle_doc_show_req}
_list = {couch_httpd_show, handle_view_list_req}
+_info = {couch_httpd_db, handle_design_info_req}