nickva opened a new pull request #536: Skip internal replication if changes already replicated URL: https://github.com/apache/couchdb/pull/536 ## Overview If minimum checkpointed sequence is greater or equal to source db sequence, do not start an internal replication task. The typical case is when checkpoint sequence is equal to the db sequence. Previously replication task was started always wrote a checkpoint document even if no database changes. This resulted in a flurry of writes during cluster startup. ## Testing recommendations * Start 3 node dev cluster with ./dev/run * Create a database * Stop cluster * Start cluster again * Connect with ./dev/remsh * After 10-20 seconds sample `couchdb.database_writes` statistic:`couch_stats:sample([couchdb,database_writes]).` * On master it would 128 or so * With this PR it would be 0 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
