Thanks for the reply Robert. We are using the latest Sling release (11) and its corresponding bundle versions, so that would make it oak 1.8.8.
We could proably be using more updated bundles, but without a stable release or tag we're not sure how to gauge whether a set of bundles is stable enough. Regards, Carlos On Wed, Jan 22, 2020 at 4:47 AM Robert Munteanu <romb...@apache.org> wrote: > Hi Carlos, > > On Tue, 2020-01-21 at 22:31 -0500, Carlos Munoz wrote: > > Hi, > > > > My team is using Sling for an internal application and we've run into > > a > > couple of unexpected scenarios: > > > > 1. When modifying the nodetypes.cnd file included with our bundle > > (e.g. > > adding a new node type), the application queries seem to stop > > working. This > > only happens when the queries use the following form: "select * from > > [custom:type] ..." and not when using something like "select * from > > [nt:base] where [jcr:primaryType] = 'custom:type'" > > > > 2. There is a specific query which runs very slowly only the first > > time it > > is executed. Once it is executed that one time it runs considerably > > faster > > on subsequent runs. > > These both look like Jackrabbit/Oak issues, so first let me ask you > which version of Jackrabbit/Jackrabbit Oak are you using? > > Thanks, > Robert > > > > > I was wondering if the Sling community would be able to shed some > > light on > > some possible causes to these two scenarios. > > > > Thanks in advance! > >