raft: panic if loaded commit is out of range
Merge pull request #1716 from yichengq/225

raft: panic if loaded commit is out of range