raft: add addNode and removeNode