You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/02/18 17:55:42 UTC

[couchdb] branch fix-replicated-purges-update-type created (now 0f25c63)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch fix-replicated-purges-update-type
in repository https://gitbox.apache.org/repos/asf/couchdb.git.


      at 0f25c63  Fix replicated_changes typo for purge doc updates

This branch includes the following new commits:

     new 0f25c63  Fix replicated_changes typo for purge doc updates

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[couchdb] 01/01: Fix replicated_changes typo for purge doc updates

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch fix-replicated-purges-update-type
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 0f25c632e38df2fd5020295b4d01bf0bbec5313f
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri Feb 18 12:38:19 2022 -0500

    Fix replicated_changes typo for purge doc updates
    
    `replicated_edits` should be `replicated_changes`
---
 src/mem3/src/mem3_rep.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mem3/src/mem3_rep.erl b/src/mem3/src/mem3_rep.erl
index 1ffc70f..afb3bc7 100644
--- a/src/mem3/src/mem3_rep.erl
+++ b/src/mem3/src/mem3_rep.erl
@@ -354,7 +354,7 @@ pull_purges(Db, Count, SrcShard, #tgt{} = Tgt0) ->
         Infos == [] ->
             ok;
         true ->
-            {ok, _} = couch_db:purge_docs(Db, Infos, [replicated_edits]),
+            {ok, _} = couch_db:purge_docs(Db, Infos, [replicated_changes]),
             Body = purge_cp_body(SrcShard, TgtShard, ThroughSeq),
             mem3_rpc:save_purge_checkpoint(TgtNode, TgtDbName, LocalPurgeId, Body)
     end,