[couchdb] 01/01: Set update_lru_on_read=false as default
This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 796-update-lru-on-read-default in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 93b57cd12f3662cc947b250fd61e150bdba38810 Author: Joan TouzetAuthorDate: Fri Jan 19 15:22:23 2018 -0500 Set update_lru_on_read=false as default --- rel/overlay/etc/default.ini| 7 +-- src/couch/src/couch_server.erl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 74087ea..66ade00 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -32,7 +32,6 @@ default_security = admin_local ; btree_chunk_size = 1279 ; maintenance_mode = false ; stem_interactive_updates = true -; update_lru_on_read = true ; uri_file = ; The speed of processing the _changes feed with doc_ids filter can be ; influenced directly with this setting - increase for faster processing at the @@ -49,9 +48,13 @@ changes_doc_ids_optimization_threshold = 100 ; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used ; for size calculation instead of 7. ;max_document_size = 4294967296 ; bytes - +; ; Maximum attachment size. ; max_attachment_size = infinity +; +; Do not update the least recently used DB cache on reads, only writes +;update_lru_on_read = false +; ; The default storage engine to use when creating databases ; is set as a key into the [couchdb_engines] section. default_engine = couch diff --git a/src/couch/src/couch_server.erl b/src/couch/src/couch_server.erl index ff1bf9e..05af0ed 100644 --- a/src/couch/src/couch_server.erl +++ b/src/couch/src/couch_server.erl @@ -223,7 +223,7 @@ init([]) -> MaxDbsOpen = list_to_integer( config:get("couchdb", "max_dbs_open", integer_to_list(?MAX_DBS_OPEN))), UpdateLruOnRead = -config:get("couchdb", "update_lru_on_read", "true") =:= "true", +config:get("couchdb", "update_lru_on_read", "false") =:= "true", ok = config:listen_for_changes(?MODULE, nil), ok = couch_file:init_delete_dir(RootDir), hash_admin_passwords(), -- To stop receiving notification emails like this one, please contact woh...@apache.org.
[couchdb] 01/01: Set update_lru_on_read=false as default
This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 796-update-lru-on-read-default in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 0de171f8d5364b1e19aa5dfe0e1a6a8f753b28d3 Author: Joan TouzetAuthorDate: Fri Jan 19 15:22:23 2018 -0500 Set update_lru_on_read=false as default --- rel/overlay/etc/default.ini| 7 +-- src/couch/src/couch_server.erl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 74087ea..66ade00 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -32,7 +32,6 @@ default_security = admin_local ; btree_chunk_size = 1279 ; maintenance_mode = false ; stem_interactive_updates = true -; update_lru_on_read = true ; uri_file = ; The speed of processing the _changes feed with doc_ids filter can be ; influenced directly with this setting - increase for faster processing at the @@ -49,9 +48,13 @@ changes_doc_ids_optimization_threshold = 100 ; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used ; for size calculation instead of 7. ;max_document_size = 4294967296 ; bytes - +; ; Maximum attachment size. ; max_attachment_size = infinity +; +; Do not update the least recently used DB cache on reads, only writes +;update_lru_on_read = false +; ; The default storage engine to use when creating databases ; is set as a key into the [couchdb_engines] section. default_engine = couch diff --git a/src/couch/src/couch_server.erl b/src/couch/src/couch_server.erl index ff1bf9e..05af0ed 100644 --- a/src/couch/src/couch_server.erl +++ b/src/couch/src/couch_server.erl @@ -223,7 +223,7 @@ init([]) -> MaxDbsOpen = list_to_integer( config:get("couchdb", "max_dbs_open", integer_to_list(?MAX_DBS_OPEN))), UpdateLruOnRead = -config:get("couchdb", "update_lru_on_read", "true") =:= "true", +config:get("couchdb", "update_lru_on_read", "false") =:= "true", ok = config:listen_for_changes(?MODULE, nil), ok = couch_file:init_delete_dir(RootDir), hash_admin_passwords(), -- To stop receiving notification emails like this one, please contact woh...@apache.org.
[couchdb] 01/01: Set update_lru_on_read=false as default
This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 796-update-lru-on-read-default in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 794e9d1aca1d4a5bbe119a982133b3746b9eaca0 Author: Joan TouzetAuthorDate: Fri Jan 19 15:22:23 2018 -0500 Set update_lru_on_read=false as default --- rel/overlay/etc/default.ini| 7 +-- src/couch/src/couch_server.erl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index 74087ea..66ade00 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -32,7 +32,6 @@ default_security = admin_local ; btree_chunk_size = 1279 ; maintenance_mode = false ; stem_interactive_updates = true -; update_lru_on_read = true ; uri_file = ; The speed of processing the _changes feed with doc_ids filter can be ; influenced directly with this setting - increase for faster processing at the @@ -49,9 +48,13 @@ changes_doc_ids_optimization_threshold = 100 ; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used ; for size calculation instead of 7. ;max_document_size = 4294967296 ; bytes - +; ; Maximum attachment size. ; max_attachment_size = infinity +; +; Do not update the least recently used DB cache on reads, only writes +;update_lru_on_read = false +; ; The default storage engine to use when creating databases ; is set as a key into the [couchdb_engines] section. default_engine = couch diff --git a/src/couch/src/couch_server.erl b/src/couch/src/couch_server.erl index ff1bf9e..05af0ed 100644 --- a/src/couch/src/couch_server.erl +++ b/src/couch/src/couch_server.erl @@ -223,7 +223,7 @@ init([]) -> MaxDbsOpen = list_to_integer( config:get("couchdb", "max_dbs_open", integer_to_list(?MAX_DBS_OPEN))), UpdateLruOnRead = -config:get("couchdb", "update_lru_on_read", "true") =:= "true", +config:get("couchdb", "update_lru_on_read", "false") =:= "true", ok = config:listen_for_changes(?MODULE, nil), ok = couch_file:init_delete_dir(RootDir), hash_admin_passwords(), -- To stop receiving notification emails like this one, please contact woh...@apache.org.
[couchdb] 01/01: Set update_lru_on_read=false as default
This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 796-update-lru-on-read-default in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 335bcdbca5e3efa737e7721c552a38a027910102 Author: Joan TouzetAuthorDate: Fri Jan 19 15:22:23 2018 -0500 Set update_lru_on_read=false as default --- rel/overlay/etc/default.ini| 7 +-- src/couch/src/couch_server.erl | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini index df43877..103a6eb 100644 --- a/rel/overlay/etc/default.ini +++ b/rel/overlay/etc/default.ini @@ -32,7 +32,6 @@ default_security = admin_local ; btree_chunk_size = 1279 ; maintenance_mode = false ; stem_interactive_updates = true -; update_lru_on_read = true ; uri_file = ; The speed of processing the _changes feed with doc_ids filter can be ; influenced directly with this setting - increase for faster processing at the @@ -49,9 +48,13 @@ changes_doc_ids_optimization_threshold = 100 ; applied conservatively. For example 1.0e+16 could be encoded as 1e16, so 4 used ; for size calculation instead of 7. ;max_document_size = 4294967296 ; bytes - +; ; Maximum attachment size. ; max_attachment_size = infinity +; +; Do not update the least recently used DB cache on reads, only writes +;update_lru_on_read = false +; ; The default storage engine to use when creating databases ; is set as a key into the [couchdb_engines] section. default_engine = couch diff --git a/src/couch/src/couch_server.erl b/src/couch/src/couch_server.erl index ff1bf9e..05af0ed 100644 --- a/src/couch/src/couch_server.erl +++ b/src/couch/src/couch_server.erl @@ -223,7 +223,7 @@ init([]) -> MaxDbsOpen = list_to_integer( config:get("couchdb", "max_dbs_open", integer_to_list(?MAX_DBS_OPEN))), UpdateLruOnRead = -config:get("couchdb", "update_lru_on_read", "true") =:= "true", +config:get("couchdb", "update_lru_on_read", "false") =:= "true", ok = config:listen_for_changes(?MODULE, nil), ok = couch_file:init_delete_dir(RootDir), hash_admin_passwords(), -- To stop receiving notification emails like this one, please contact woh...@apache.org.