Github user nickva commented on the pull request: https://github.com/apache/couchdb-couch-replicator/pull/37#issuecomment-215282100 @kxepal Good point. Agreed. I meant to do not min(uniform(Range), Max) but uniform(min(Range,Max)). Fixed it. Here is how it looks now: ``` RepCount=1000, rp([random:uniform(min(RepCount*200, 60000)) || _ <- lists:seq(0,100)]). [38394,16327,5235,54911,43938,37439,49599,25058,29127,28940, 27670,27339,12362,13214,24914,57804,34424,13094,27521,24637, 7739,19875,4917,10425,56944,47949,50781,56566,2593,24202, 17239,46795,53108,3802,52754,12959,50775,8052,29843,17078, 25021,17026,58712,3914,15789,28334,10623,37113,44233,45063, 53042,50468,42049,49150,16030,12299,17236,18713,1647,13074, 38997,343,21045,3184,35015,36434,7195,29336,58034,2690, 11119,42243,31052,9085,35359,57134,57266,17889,28703,20612, 40081,14827,32685,25217,16623,9715,24076,44923,18544,12058, 58077,34974,36248,43335,56866,2442,2207,12111,2853,15403, 43411] ``` RepCount is also replications on one (local) node. In a 3 node cluster if RepCount=1000, it means there are 3000 replications. If 12 node cluster, 12k and so on.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---