apply() takes uint64 commit index of command