commit | 13326bb4b265c09c37f8088c6432f80f495ef0cd | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@gmail.com> | Wed Apr 27 15:21:14 2016 -0400 |
committer | Nick Vatamaniuc <vatamane@gmail.com> | Fri May 06 10:20:41 2016 -0400 |
tree | 33c74caef849a0d038d699f38258b835112dbbe9 | |
parent | ab0afce2d6fdfeeade636a9252327ac09a1e423f [diff] |
Add jittered delay during replication error handling For one-to-many replications, when source fails, it can create a stampede effect. A jittered delay is used to avoid that. Delay is random, in a range proportional to current number of replications, with a maximum of 1 minute. Seed random number generator within each replication process with a non-deterministic value, otherwise the same sequence of delays is generated for all replications. Jira: COUCHDB-3006