raft: change term to atomicInt