Alibaba Group Holding Limited
Method and apparatus for job operation retry

Last updated:

Abstract:

Embodiments of the present application provide operation retry methods and apparatuses. One exemplary method includes: detecting whether an operation of a job fails; if there is an operation failure, collecting statistics on a progress of the job; calculating a retry interval according to the progress of the job; and re-executing the operation after waiting for the retry interval. When an operation of a job fails, the retry interval can be adaptively calculated according to the progress of the job. This can help increase the length of the retry interval, especially for a long job. The job can thereby be retried dynamically, to cope with longer service interruption. Embodiments of the present application can help avoid waste of resource waste caused by job failure and job re-execution, and reduce the retry costs while ensuring the success rate of the job.

Status:
Grant
Type:

Utility

Filling date:

16 Mar 2018

Issue date:

15 Dec 2020