Skip to content

Commit

Permalink
[bugfix] reset lastFound optimization when page data is dirtied
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpaxton committed Dec 6, 2024
1 parent bd86e41 commit 6a03de0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exist-core/src/main/java/org/exist/storage/dom/DOMFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -3218,6 +3218,9 @@ public boolean isDirty() {
void setDirty(final boolean dirty) {
saved = !dirty;
page.getPageHeader().setDirty(dirty);
if (dirty) {
lastFound.set(0);
}
}

private void load(final Page page) {
Expand Down

0 comments on commit 6a03de0

Please sign in to comment.