Skip to content

Commit

Permalink
ISIS-2794: adds minor doc relating to flushing config property
Browse files Browse the repository at this point in the history
(cherry picked from commit 118b815)
  • Loading branch information
danhaywood committed Aug 5, 2021
1 parent fe8d82b commit c686be7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ disable-auto-flush

This key allows this behaviour to be disabled.

Originally introduced as part of ISIS-1134 (fixing memory leaks in the objectstore) where it was found that the autoflush behaviour was causing a (now unrepeatable) data integrity error (see https://issues.apache.org/jira/browse/ISIS-1134?focusedCommentId=14500638&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14500638[ISIS-1134 comment], in the isis-module-security. However, that this could be circumvented by removing the call to flush(). We don't want to break existing apps that might rely on this behaviour, on the other hand we want to fix the memory leak. Adding this configuration property seems the most prudent way forward.
NOTE: this key is redundant for JPA/EclipseLink, which supports its own auto-flush using https://www.eclipse.org/eclipselink/documentation/2.7/jpa/extensions/persistenceproperties_ref.htm#BABDHEEB[eclipselink.persistence-context.flush-mode]


|
Expand Down

0 comments on commit c686be7

Please sign in to comment.