We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c78518f commit a150643Copy full SHA for a150643
driver/src/main/java/org/neo4j/driver/internal/ExplicitTransaction.java
@@ -158,7 +158,7 @@ CompletionStage<Void> closeAsync()
158
{
159
return commitAsync();
160
}
161
- else if ( state == State.ACTIVE || state == State.MARKED_FAILED || state == State.TERMINATED )
+ else if ( state != State.COMMITTED && state != State.ROLLED_BACK )
162
163
return rollbackAsync();
164
0 commit comments