Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make transaction id accessible after KTI commit
Transaction id is only assigned during commit of KernelTransactionImplementation. It is not assigned if transaction was rolled back or read-only. Currently it is not possible to obtain committed transaction id because KTI just implements AutoCloseable and commit happens in #close(). However, it might be sometimes valuable to know committed transaction id and track it. This commit makes KTI expose it's id (if committed) via #closeTransaction() method while still keeping KTI an AutoCloseable.
- Loading branch information
Showing
5 changed files
with
107 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters