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 2017/09/19 19:15:41 UTC
[2/5] couchdb-cassim git commit: Fix changes callback function clause
for stop event
Fix changes callback function clause for stop event
Project: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/commit/33bf3bb3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/tree/33bf3bb3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-cassim/diff/33bf3bb3
Branch: refs/heads/COUCHDB-3288-remove-public-db-record
Commit: 33bf3bb3104b4d3dda903fce67937e3dfbe58ffb
Parents: ab1ef1c
Author: Alexander Shorin <kx...@apache.org>
Authored: Wed Mar 9 23:10:51 2016 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Mar 9 23:10:51 2016 +0300
----------------------------------------------------------------------
src/cassim_metadata_cache.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-cassim/blob/33bf3bb3/src/cassim_metadata_cache.erl
----------------------------------------------------------------------
diff --git a/src/cassim_metadata_cache.erl b/src/cassim_metadata_cache.erl
index ceb6c9e..25e0937 100644
--- a/src/cassim_metadata_cache.erl
+++ b/src/cassim_metadata_cache.erl
@@ -166,7 +166,7 @@ changes_callback(waiting_for_updates, Acc) ->
{ok, Acc};
changes_callback(start, Since) ->
{ok, Since};
-changes_callback({stop, EndSeq}, _) ->
+changes_callback({stop, EndSeq, _Pending}, _) ->
exit({seq, EndSeq});
changes_callback({change, {Change}}, _) ->
Id = couch_util:get_value(id, Change),