You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/05/28 08:14:36 UTC

[GitHub] [couchdb-documentation] wlthomson opened a new issue #552: Replicator database configuration does not include max_history

wlthomson opened a new issue #552:
URL: https://github.com/apache/couchdb-documentation/issues/552


   <!--- Provide a general summary of the issue in the Title above -->
   
   CouchDB 3.1 replication seems to support `max_history` as a configurable parameter (see [couch_replicator_scheduler#L238](https://github.com/apache/couchdb/blob/4e64f5b492990b03f7f58a47ec173d048a3f381f/src/couch_replicator/src/couch_replicator_scheduler.erl#L238)). 
   
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   <!--- If you're suggesting a change/improvement, tell us how it should work -->
   
   `[replicator]max_history` to be added to `config/replicator.rst` as a configurable parameter for the replicator database (e.g. https://docs.couchdb.org/en/latest/config/replicator.html#replicator/max_history).
   
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected behavior -->
   <!--- If suggesting a change/improvement, explain the difference from current behavior -->
   
   `[replicator]max_history` is not documented in `config/replicator.rst`.
   
   ## Possible Solution
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   
   Add `max_history` to `config/replicator.rst`, including brief explanation and default value `20` (see [`couch_replicator_scheduler#L77`](https://github.com/apache/couchdb/blob/3.1.0/src/couch_replicator/src/couch_replicator_scheduler.erl#L77)).
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   
   N/A.
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   <!--- Providing context helps us come up with a solution that is most useful in the real world -->
   
   Experimenting with CouchDB in environments of low and/or intermittent connectivity, where it is important that replication restarts quickly when network connectivity is established. See https://github.com/apache/couchdb/issues/1399, which references configurable parameters `[replicator]retries_per_request` and `[replicator]max_history` as a potential solution to this problem.
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced the bug in -->
   * Version used: `v3.1.0`.
   * Browser Name and version: Brave 1.8.95.
   * Operating System and version (desktop or mobile): Ubuntu 20.04 LTS.
   * Link to your project: https://github.com/wlthomson/ocsupply.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-documentation] wlthomson commented on issue #552: Replicator database configuration parameters do not include max_history

Posted by GitBox <gi...@apache.org>.
wlthomson commented on issue #552:
URL: https://github.com/apache/couchdb-documentation/issues/552#issuecomment-637407973


   @janl Sure, will do! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-documentation] janl closed issue #552: Replicator database configuration parameters do not include max_history

Posted by GitBox <gi...@apache.org>.
janl closed issue #552:
URL: https://github.com/apache/couchdb-documentation/issues/552


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-documentation] janl commented on issue #552: Replicator database configuration parameters do not include max_history

Posted by GitBox <gi...@apache.org>.
janl commented on issue #552:
URL: https://github.com/apache/couchdb-documentation/issues/552#issuecomment-635213860


   @wlthomson wanna open a PR for this?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb-documentation] wlthomson edited a comment on issue #552: Replicator database configuration parameters do not include max_history

Posted by GitBox <gi...@apache.org>.
wlthomson edited a comment on issue #552:
URL: https://github.com/apache/couchdb-documentation/issues/552#issuecomment-637407973


   @janl Sure, will do! 
   
   Apologies for the delay, just had a public holiday where I am, so was away from the desk for a few days :smiley:. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org