iilyak commented on a change in pull request #1370: [5/5] Clustered Purge 
Implementation
URL: https://github.com/apache/couchdb/pull/1370#discussion_r196622268
 
 

 ##########
 File path: src/mem3/src/mem3_rep.erl
 ##########
 @@ -118,6 +121,34 @@ make_local_id(SourceThing, TargetThing, Filter) ->
     <<"_local/shard-sync-", S/binary, "-", T/binary, F/binary>>.
 
 
+make_purge_id(SourceUUID, TargetUUID) ->
+    <<"_local/purge-mem3-", SourceUUID/binary, "-", TargetUUID/binary>>.
 
 Review comment:
   The purge docid for mrview has version of purge implementation in it [see 
here](https://github.com/apache/couchdb/pull/1370/commits/c67815e8272ef2e90aa6a2a07522a9590bbbc49a#diff-2bd31f00dcfba780c6c65bc69c256854R46).
 Should we embed version here as well?

----------------------------------------------------------------
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

Reply via email to