You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2020/04/01 15:28:47 UTC
[couchdb] 02/03: Merge pull request #2654 from
apache/fix-filter-changes-feed-rewinds
This is an automated email from the ASF dual-hosted git repository.
rnewson pushed a commit to branch 3.0.x-backports-from-master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 78f73b34da9ceefe91820d3a0f9674c93bb8eb81
Author: Robert Newson <rn...@apache.org>
AuthorDate: Wed Mar 11 22:09:47 2020 +0000
Merge pull request #2654 from apache/fix-filter-changes-feed-rewinds
Send correct seq values for filtered changes
---
src/fabric/src/fabric_rpc.erl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/fabric/src/fabric_rpc.erl b/src/fabric/src/fabric_rpc.erl
index 7b688b2..a67dcd1 100644
--- a/src/fabric/src/fabric_rpc.erl
+++ b/src/fabric/src/fabric_rpc.erl
@@ -515,7 +515,8 @@ changes_enumerator(DocInfo, Acc) ->
[] ->
ChangesRow = {no_pass, [
{pending, Pending-1},
- {seq, Seq}]};
+ {seq, {Seq, uuid(Db), couch_db:owner_of(Epochs, Seq)}}
+ ]};
Results ->
Opts = if Conflicts -> [conflicts | DocOptions]; true -> DocOptions end,
ChangesRow = {change, [