Skip to content

ToC cache is effectively not used after the first shutdown#3873

Merged
andreitokar merged 3 commits intoh2database:masterfrom
andreitokar:at-misc
Aug 18, 2023
Merged

ToC cache is effectively not used after the first shutdown#3873
andreitokar merged 3 commits intoh2database:masterfrom
andreitokar:at-misc

Conversation

@andreitokar
Copy link
Contributor

Also, WRITE_DELAY value is not reported in INFORMATION_SCHEMA.SETTINGS

@katzyn
Copy link
Contributor

katzyn commented Aug 18, 2023

/**
* Cache for chunks "Table of Content" used to translate page's
* sequential number within containing chunk into byte position
* within chunk's image. Cache keyed by chunk id.
*/
private final CacheLongKeyLIRS<long[]> chunksToC;

Its Javadoc is incorrect too.

@andreitokar andreitokar changed the title ToC cash is effectively not used after the first shutdown ToC cache is effectively not used after the first shutdown Aug 18, 2023
@andreitokar
Copy link
Contributor Author

Maybe it's less confusing this way and javadoc happens to be correct?

@andreitokar andreitokar merged commit 3f1be47 into h2database:master Aug 18, 2023
@andreitokar andreitokar deleted the at-misc branch August 18, 2023 03:04
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.

2 participants