*documentNodeStore.dispose() *
is clearly called and does not throw any errors.
By the way, what is the purpose of JackrabbitRepository.shutdown, if the
dispose is needed in normal shutdown? Our code actually calls both, so
could the other one be causing problems?

ti 7. marrask. 2023 klo 12.41 Julian Reschke ([email protected])
kirjoitti:

> On 07.11.2023 08:45, Lasse Lindqvist wrote:
> > Hi. I am experiencing slow startups of Jackrabbit OAK. It seems to scale
> > linearly with the amount of documents being stored and seems to "scan"
> all
> > of them when being started.
> >
> > When the application starts, it calls
> >
> >
> > *RDBOptions options = new
> > RDBOptions().tablePrefix("somePrefix").dropTablesOnClose(false);
> > DocumentNodeStore ns = new RDBDocumentNodeStoreBuilder().setBlobStore(new
> > FileBlobStore("somePath")) .setRDBConnection(dataSource(),
> > options).build();*
> >
> > When the application closes, it basically just calls
> >
> >
> > *documentNodeStore.dispose();*
> > Is there something simple I am missing that would make it skip this
> > expensive startup operation? Creating the DocumentNodeStore object seems
> to
> > take a long time.
>
> Did you check the system logs? A wild guess is that it's doing a
> recovery operation because it may not have shutdown properly.
>
> Best regards, Julian
>
>

Reply via email to