On 2018-12-04 14:46, Raffaele Gambelli wrote:
Hi all,
I'm using Jackrabbit 2.14.0 and I'm experiencing the same problem well
described here
https://stackoverflow.com/questions/10979322/tuning-jackrabbit-data-model-version-bundle-table
Nevertheless we have few versionable entities and profiling our
application we are seeing that this query "select BUNDLE_DATA from
VERSION_BUNDLE where NODE_ID = :1" is triggered also when we persist a
not versionable entity, moreover an entity which has no related
versionable entities.
So I would like to know if you know about some bugs in that version,
related to version_bundle table and its accesses, or anything other to
help me to understand why that table is queried many times, more than
the DEFAULT_BUNDLE in a use case where I'm sure that no versionable
entities are engaged.
Thanks in advance, best regards
..
I'm not aware of any open issues in this area.
I guess the first step would be to find out what the version store
contains. Maybe you are versioning more than what you thought.
Alternatively, you could add debug logging in the persistence manager
which does these queries. Maybe a call stack would tell you what's
causing the requests.
Best regards, Julian