Skip to content

Commit

Permalink
A few wording tweaks on transactions
Browse files Browse the repository at this point in the history
Fixes #267.
  • Loading branch information
jclark committed Dec 17, 2020
1 parent 1221f71 commit 6b18e80
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lang/spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -8623,7 +8623,9 @@ <h3 id="transactions">Transactions</h3>
<p>
A running instance of a Ballerina program includes a transaction manager. This
may run in the same process as the Ballerina program or in a separate process.
It should not be connected over an unreliable network.
It should not be connected over an unreliable network. The transaction manager
of a program is responsible for managing the transaction branches of all the
program's strands.
</p>
<p>
When a global transaction involves multiple Ballerina programs, there must be a
Expand All @@ -8647,10 +8649,9 @@ <h3 id="transactions">Transactions</h3>
</p>
<p>
A strand in transaction mode can register commit or rollback handlers with the
transaction manager for the current transaction branch, which are functions
which will be called by the transaction manager when the decision has been made
whether to commit or rollback the global transaction to which the branch
belongs.
transaction manager; the handlers are functions which will be called by the
transaction manager when the decision has been made whether to commit or
rollback the global transaction to which the current transaction branch belongs.
</p>
<p>
Note that internal storage in Ballerina is not transactional. Rolling back a
Expand Down

0 comments on commit 6b18e80

Please sign in to comment.