Skip to content

Conversation

@katzyn
Copy link
Contributor

@katzyn katzyn commented Aug 4, 2023

  1. SET EXCLUSIVE 2 doesn't wait any more if there are no other user sessions or when they were immediately closed by suspend().
  2. Database.closeAllSessionsExcept() and Transaction.waitForThisToEnd() now use System.nanoTime() instead of unsafe System.currentTimeMillis() to avoid problems caused by possible adjustments of system clock.

@katzyn katzyn merged commit ab7cf26 into h2database:master Aug 4, 2023
@katzyn katzyn deleted the nanoTime branch August 4, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant