fix #184. Don't let the raft log grow larger than 10MB