Replacing ObArray with ObSEArray in ObIDetectCallback

This commit is contained in:
obdev
2023-06-28 09:18:00 +00:00
committed by ob-robot
parent 09dd119b6e
commit ffa0b12f34
6 changed files with 25 additions and 24 deletions

View File

@ -531,7 +531,7 @@ void ObDetectManager::ObDetectReqGetCall::operator()(hash::HashMapPair<ObDetecta
while (OB_NOT_NULL(cb_node)) {
if (!cb_node->is_executed()) {
ObArray<ObPeerTaskState> &peer_states = cb_node->cb_->get_peer_states();
ObIArray<ObPeerTaskState> &peer_states = cb_node->cb_->get_peer_states();
ARRAY_FOREACH_NORET(peer_states, idx) {
ObPeerTaskState &peer_state = peer_states.at(idx);
// only detect running tasks