[ https://issues.apache.org/jira/browse/OAK-6782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196852#comment-16196852 ]
Julian Reschke commented on OAK-6782: ------------------------------------- Looking at the MongoDS variant shows that we always invalidate after talking to the persistence; and so so in the {{finally}} block. Will adjust RDB to do the same. > RDBDocumentStore: inconsistent handling of cache invalidation on remove() > ------------------------------------------------------------------------- > > Key: OAK-6782 > URL: https://issues.apache.org/jira/browse/OAK-6782 > Project: Jackrabbit Oak > Issue Type: Technical task > Components: documentmk, rdbmk > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Minor > > {{remove(Collection<T> collection, Map<String, Map<Key, Condition>> > toRemove)}} invalidates the cache after talking to the DB. The other variants > do it before. > [~mreutegg] - this was added for OAK-2804 - do you recall whether there was a > specific reason to do it like that? -- This message was sent by Atlassian JIRA (v6.4.14#64029)