From f6fd760c17cb5d5d49211be4b4ff92e797e83157 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Sat, 4 Jul 2009 15:47:47 +0000 Subject: 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 --- etc/couchdb/default.ini.tpl.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') 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} -- cgit v1.2.3