Retry cache return success on transient exception

Description

The retry cache system is storing data both locally and in the database, the local storage should be used only for garbage collecting purpose but it is also used when getting entries. As a result, it behaves wrongly when transactions encounter transient exceptions: when encountering a transient exception the result of the transactions are not stored in the database. but the cache in local memory still contains that the transaction was successful when the transaction will be retried it will not execute it, thinking that it was already successfully committed.
The retry cache should only return cached value present in the database.

Status

Assignee

Gautier Berthou

Reporter

Gautier Berthou

Labels

None

Fix versions

Priority

High