empiredan commented on code in PR #1489:
URL: 
https://github.com/apache/incubator-pegasus/pull/1489#discussion_r1206641506


##########
src/replica/replica_stub.cpp:
##########
@@ -2318,14 +2314,17 @@ replica *replica_stub::load_replica(const char *dir)
     return rep;
 }
 
-void replica_stub::clear_on_failure(replica *rep, const std::string &path, 
const gpid &pid)
+void replica_stub::clear_on_failure(replica *rep)
 {
+    std::string rep_dir = rep->dir();

Review Comment:
   ```suggestion
       auto rep_dir = rep->dir();
   ```



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