fix(server.go) fix the problem that the server cannot be inited after loading snapshot.

We should can use log.empty to check if the log has been loaded or not.

fix #207