Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[couchup]: warn if [replicator] connection_timeout is low on dbs with lots of deletes #1557

Open
janl opened this issue Aug 13, 2018 · 0 comments

Comments

@janl
Copy link
Member

janl commented Aug 13, 2018

Expected Behavior

Upgrading a database with many deleted docs using couchup just works™.

Current Behavior

When upgrading a database with lots of deleted docs, the default [replicator] connection_timeout of 3000 (which is translated to 10000 for _changes requests), won’t be enough to filter through all deleted docs with in 10 seconds.

The result is that replication first slows down and then stalls as _changes requests timeout messages show up in the logs.

Possible Solution

couchup could detect the low timeout and big deleted document count and suggest raising the config value (or even offer a way to do it from the cli right away), say couchup --raise-that-limit e.g.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant