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 authored and adamretter committed Dec 13, 2024
1 parent 9b8c98f commit d004f64
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 d004f64

Please sign in to comment.