Skip to content

PageManager eviction strategy does not remove oldest pages first #1287

@lvca

Description

@lvca

This issue comes from PR #1285 by @hjhk555.

Fix a bug. When the size of the readCache in PageManager exceeds its limit, it is supposed to remove the oldest pages, as indicated by the comments. However, when comparing the removal priority between pages, the page with a larger lastAccessed timestamp (newer one) is given higher priority.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions