Skip to content

Commit

Permalink
Merge pull request #40860 from gimantha/transaction-strands-4.x
Browse files Browse the repository at this point in the history
[4.x]Propagate transactional mode properly in between strands
  • Loading branch information
gimantha committed Jul 6, 2023
2 parents 8c55736 + 2ee948b commit 06723e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,10 @@ public void removeLocalTransactionContext() {
public void removeCurrentTrxContext() {
if (!this.trxContexts.isEmpty()) {
this.currentTrxContext = this.trxContexts.pop();
globalProps.put(CURRENT_TRANSACTION_CONTEXT_PROPERTY, this.currentTrxContext);
return;
}
globalProps.remove(CURRENT_TRANSACTION_CONTEXT_PROPERTY);
this.currentTrxContext = null;
}

Expand Down

0 comments on commit 06723e2

Please sign in to comment.