@xiangli-cmu We should panic from `setCommitIndex()` as well.