raft: use newRaft

Fix #1434