TX_NO_STATE — transaction has no state record
cyoda-go version 0.6.2
errors.TX_NO_STATE
Section titled “errors.TX_NO_STATE”TX_NO_STATE — the transaction coordinator cannot find a state record for the given transaction ID.
SYNOPSIS
Section titled “SYNOPSIS”HTTP: 404 Not Found. Retryable: no.
DESCRIPTION
Section titled “DESCRIPTION”The two-phase commit coordinator tracks per-transaction state (prepared, committed, aborted). This error is returned when a commit or abort instruction references a transaction for which no state record exists, because the transaction was never prepared or was already cleaned up.
Not retryable. prepare must be called before commit or abort. The coordinator’s state retention configuration determines how long state records are kept.
SEE ALSO
Section titled “SEE ALSO”- errors
- errors.TX_REQUIRED
- errors.TX_COORDINATOR_NOT_CONFIGURED
- errors.TRANSACTION_NOT_FOUND
See also
Section titled “See also”cyoda help errors— Every error response from the Cyoda REST API carries a structurederrorCodein thepropertiesobject. Multiple codes may share the same HTTP status. Programmatic handling keys onerrorCode, not HTTP status.cyoda help errors TX_REQUIRED— Certain write operations that require atomic multi-step coordination mandate a transaction context. Returned when such an operation is called without atransactionIdheader or query parameter.cyoda help errors TX_COORDINATOR_NOT_CONFIGURED— Certain operations that span multiple storage shards require a distributed transaction coordinator. This error is returned when such an operation is attempted on a node where the coordinator component is disabled or misconfigured.cyoda help errors TRANSACTION_NOT_FOUND— The transaction ID supplied in the request does not correspond to an active transaction. The transaction may have been committed, rolled back, expired, or may never have existed. Also occurs when a request is mis-routed to a node that never opened the transaction.
Raw formats
Section titled “Raw formats”/help/errors/tx_no_state.json— full descriptor (matchesGET /help/{topic}envelope)/help/errors/tx_no_state.md— body only