levy5307 commented on code in PR #1512:
URL:
https://github.com/apache/incubator-pegasus/pull/1512#discussion_r1222359405
##########
src/replica/replica_stub.cpp:
##########
@@ -618,6 +618,10 @@ void replica_stub::initialize(const replication_options
&opts, bool clear /* = f
LOG_INFO("start to load replicas");
std::map<dir_node *, std::vector<std::string>> dirs_by_dn;
for (const auto &dn : _fs_manager.get_dir_nodes()) {
+ // Skip IO error dir_node.
+ if (dn->status == disk_status::IO_ERROR) {
Review Comment:
dsn_unlikely
--
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]