Index Corruption in AEM 5.6.1 after Session.move()
Hi All, I'm experiencing some index corruption in an AEM 5.6.1 author production index. I can't replicate it locally or on staging instances that mirror the production environment. The problem occurs intermittently when moving an asset in a custom workflow process via Session.move(). The move operation doesn't generate any exceptions and the asset is properly moved to its new location. For example, workflowSession.getSession().move(oldPath, newPath). After the (silent) corruption JCR queries return strange results that include both the old location and the new location of the assets. The query results are extra strange because they return the old path even when the query specifically should only search under the new path. For example, suppose the old path is /content/dam/oldassets/asset1.jpg and the new path is /content/dam/newassets/asset1.jpg. And then in CRXDE I do this XPath query: /jcr:root/content/dam/newassets//*[jcr:contains(., 'asset1')] I'm specifically restricting the search to assets contained under newassets but the query results somehow contains both the old and the new paths - despite the fact that the XPath query shouldn't include anything under /content/dam/oldassets. We're going to run a consistency check to see what that turns up. And we'll probably open a ticket with Adobe. Has anyone seen anything like this? Is there maybe a hotfix that addresses similar index corruption issues? Thanks very much. David Frenkiel