You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/07/11 18:31:15 UTC

[couchdb] branch master updated (9d143ba -> 9d09878)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


    from 9d143ba  Add erlang 22 support
     new 85dc624  Fix max_document_id_length value in default.ini
     new 9d09878  Add missing purge settings to default.ini

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 rel/overlay/etc/default.ini | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


[couchdb] 02/02: Add missing purge settings to default.ini

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 9d098787a71d1c7f7f6adea05da15b0da3ecc7ef
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Jul 11 12:23:38 2019 -0400

    Add missing purge settings to default.ini
---
 rel/overlay/etc/default.ini | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 44aa824..dbb0744 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -70,6 +70,17 @@ default_engine = couch
 ; is 10GiB. A value of 0 or less will disable partition size checks.
 ;max_partition_size = 10737418240
 
+[purge]
+; Allowed maximum number of documents in one purge request
+;max_document_id_number = 100
+;
+; Allowed maximum number of accumulated revisions in one purge request
+;max_revisions_number = 1000
+;
+; Allowed durations when index is not updated for local purge checkpoint
+; document. Default is 24 hours.
+;index_lag_warn_seconds = 86400
+
 [couchdb_engines]
 ; The keys in this section are the filename extension that
 ; the specified engine module will use. This is important so


[couchdb] 01/02: Fix max_document_id_length value in default.ini

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 85dc624bdbb01189b1e100ca3944de2f514abd0b
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Thu Jul 11 12:03:31 2019 -0400

    Fix max_document_id_length value in default.ini
    
    The code has "infinity" as the default value and not 0
    
    See src/couch_replicator/src/couch_replicator_changes_reader.erl
---
 rel/overlay/etc/default.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rel/overlay/etc/default.ini b/rel/overlay/etc/default.ini
index 5a8d0f9..44aa824 100644
--- a/rel/overlay/etc/default.ini
+++ b/rel/overlay/etc/default.ini
@@ -375,7 +375,7 @@ verify_ssl_certificates = false
 ; Maximum peer certificate depth (must be set even if certificate validation is off).
 ssl_certificate_max_depth = 3
 ; Maximum document ID length for replication.
-;max_document_id_length = 0
+;max_document_id_length = infinity
 ; How much time to wait before retrying after a missing doc exception. This
 ; exception happens if the document was seen in the changes feed, but internal
 ; replication hasn't caught up yet, and fetching document's revisions