On attempt to dispose a transaction the following exception has been thrown by the client.
ActiveMQ.Artemis.Client.Exceptions.TransactionException: An attempt was made to transition a task to a final state when it had already completed.
at ActiveMQ.Artemis.Client.Transactions.TransactionCoordinator.DischargeAsync(Byte[] txnId, Boolean fail, CancellationToken cancellationToken)
at ActiveMQ.Artemis.Client.Transactions.Transaction.RollbackAsync(CancellationToken cancellationToken)
at ActiveMQ.Artemis.Client.Transactions.Transaction.DisposeAsync()
Describe the bug
On attempt to dispose a transaction the following exception has been thrown by the client.
Expected behavior
Exception should not be thrown.
Environment: