Polaris 1.3 introduced the Transaction.pending_execution_attempt
column to ensure running multiple processes of the poll_pending_deposits
, check_trustlines
, or execute_outgoing_transactions
command did not cause a same transaction to be executed more than once.
However, Transaction.pending_execution_attempt
was not being set back to False
in after attempting execution in several cases. If a Stellar account did not have a trustline to the asset prior to poll_pending_deposits
first polling the transaction’s status, the transaction would not be submitted at all. This patch fixes this issue.
If either version 1.3.0
or 1.3.1
was deployed to production, you can ensure any affected transactions are processed normally by updating Transaction.pending_execution_attempt
to False
for transactions currently in the pending_trust
status.
If you run multiple check_trustlines
processes, you’ll need to temporarily stop them and wait a moment before executing the query to ensure it does not cause transactions currently being submitted by one process to get submitted again by the other.