acelyc111 commented on code in PR #2101:
URL: 
https://github.com/apache/incubator-pegasus/pull/2101#discussion_r1721427059


##########
src/server/pegasus_mutation_duplicator.cpp:
##########
@@ -250,6 +250,9 @@ void 
pegasus_mutation_duplicator::duplicate(mutation_tuple_set muts, callback cb
             // Because DUPLICATE comes from other clusters should not be 
forwarded to any other
             // destinations. A DUPLICATE is meant to be targeting only one 
cluster.
             continue;
+        } else if (rpc_code == dsn::apps::RPC_RRDB_RRDB_BULK_LOAD) {
+            LOG_DEBUG_PREFIX("Ignore sending bulkload rpc when doing 
duplication");
+            continue;
         } else {
             dsn::apps::duplicate_entry entry;

Review Comment:
   Now that all the above branches have been continued, you can remove the `} 
else {` to reduce the indents.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to