chainlink icon indicating copy to clipboard operation
chainlink copied to clipboard

[FEAT] NODE - support restarting failed job runs

Open aelmanaa opened this issue 2 years ago • 0 comments

Description Support restarting failed job runs.

Motivation This is important for the request & receive cycle . In fact, node operators call external APIs (directly or through external adapters). The API call could fail for many reasons, which are not caused by data provided by the smart contract: Network issues, throttling on the API provider, bug in the external adapter...Etc. In these situations, restarting the job can fix the issue (e.g.: If there is throttling, then the node operator can restart the job a bit later)

Justification

Let's take the throttling example where the client ensured his smart contract is working perfectly fine and providing the right data to the Oracle node. The issue is between the Node & the API provider:

Client --call--> Smart contract --chainlink call --> Oracle Node --api call --> API Provider (throttles)

  • In the current solution, the client loses more gas + LINK than originally expected. In fact, he will have to try again , paying extra fees
  • With this feature: there are no extra calls, hence no extra fees. The node operator can restart the job run when the issue is fixed

aelmanaa avatar Apr 21 '22 07:04 aelmanaa