Revision 741a55d1 src/rm/RequestManagerZone.cc

View differences:

src/rm/RequestManagerZone.cc
286 286
        failure_response(ACTION, att);
287 287
        return;
288 288
    }
289
    else if ( candidate_term > current_term  )
290
    {
291
        std::ostringstream oss;
292

  
293
        oss << "New term (" << candidate_term << ") discovered from candidate "
294
            << candidate_id;
295

  
296
        NebulaLog::log("ReM", Log::INFO, oss);
297

  
298
        raftm->follower(leader_term);
299

  
300
    }
289 301

  
290 302
    if ((log_term > candidate_log_term) || ((log_term == candidate_log_term) &&
291 303
        (log_index > candidate_log_index)))

Also available in: Unified diff