We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac96f57 commit b233c84Copy full SHA for b233c84
1 file changed
src/shell/commands/recovery.cpp
@@ -179,9 +179,9 @@ dsn::host_port diagnose_recommend(const dsn::replication::ddd_partition_info &pi
179
const auto it = std::find_if(pinfo.dropped.begin(),
180
pinfo.dropped.end(),
181
[&node](const dsn::replication::ddd_node_info &r) {
182
- dsn::host_port hp_node;
183
- GET_HOST_PORT(r, node, hp_node);
184
- return hp_node == node;
+ dsn::host_port hp_node_from_dropped;
+ GET_HOST_PORT(r, node, hp_node_from_dropped);
+ return hp_node_from_dropped == node;
185
});
186
if (it->is_alive && it->is_collected) {
187
last_dropped.push_back(*it);
0 commit comments