You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 23:06:49 UTC

[15/50] git commit: Use longpoll rather than normal for changes feed on _replicator db

Use longpoll rather than normal for changes feed on _replicator db

This helps prevent the case where changes to the _replicator db have not
fully propagated, resuting in an empty changes feed and a stuck replication

BugzID: 12759


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/9a306045
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/9a306045
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/9a306045

Branch: refs/heads/import
Commit: 9a306045857da6a7170b3930abbc61f9eb8fd4e5
Parents: 38c2f8b
Author: Bob Dionne <bo...@cloudant.com>
Authored: Wed Aug 22 18:02:59 2012 -0400
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Wed Mar 20 06:02:38 2013 -0500

----------------------------------------------------------------------
 src/couch_replicator_manager.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/9a306045/src/couch_replicator_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_manager.erl b/src/couch_replicator_manager.erl
index b7e7d24..a6cd22d 100644
--- a/src/couch_replicator_manager.erl
+++ b/src/couch_replicator_manager.erl
@@ -260,7 +260,7 @@ changes_feed_loop(DbName, Since) ->
             nil,
             #changes_args{
                 include_docs = true,
-                feed = "normal",
+                feed = "longpoll",
                 since = Since,
                 filter = main_only,
                 timeout = infinity