Add an API for checkihg unknown result from commit when retrying.