sergey-safarov commented on issue #5934: URL: https://github.com/apache/couchdb/issues/5934#issuecomment-4244282376
Thanks @rnewson for suggetion. Yes this works, after first replication database size about 1Mb as expected. But on production server it required to switch client traffic between database current and replicated. For this we use `HAproxy` daemon and some injected rules in `HAproxy` config file. But this requires some skills and understanding. This works for us and we use this as workaround for now. This ticket I have created to troubleshot root of issue. > There's no compaction interval, compaction is triggered whenever needed, unless you've configured smoosh so it's not allowed to run. We use this `smoosh` settings ``` [smoosh] state_dir = ./data compaction_log_level = info [smoosh.ratio_dbs] priority = ratio min_priority = 2.0 from = 08:00 to = 10:00 [smoosh.ratio_views] priority = ratio min_priority = 2.0 from = 08:00 to = 10:00 [smoosh.slack_dbs] priority = slack min_priority = 536870912 from = 08:00 to = 10:00 [smoosh.slack_views] priority = slack min_priority = 536870912 from = 08:00 to = 10:00 ``` We use this settings to define day interval when we prefer compaction run. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
