feat(server): add FlushCommitIndex

Sometimes etcd needs raft to replay more when restart.
This function could be used to set it.