Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trace causes of page cursor errors from file closed
Closing a paged file will now record its stack trace in an exception, and if a page cursor runs into trouble because it is operating on a file that has been unmapped, then the IllegalStateException will now also contain the file closed trace exception as a suppressed exception. This allows us to see where and why a file was closed, and give us clues as to why we still have a cursor on such a file.
- Loading branch information
Showing
2 changed files
with
48 additions
and
8 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