On 09.12.2019 10:28, Tanvi Shah wrote:
Hi,
We are implementing versioning of jcr:content with repository having more than
20,000 of nodes. But after adding the mixin for mix:versionable the session is
taking too much time for saving the data.
The code is :
final Node content = file.addNode(Property.JCR_CONTENT, NodeType.NT_RESOURCE);
content.addMixin(NodeType.MIX_VERSIONABLE);
content.setProperty(Property.JCR_DATA, binary);
session.save();
log.info("Saving session and chekin the node");
versionManager.checkin(content.getPath());
So please help me with tackling this problem where session takes minimum time
for saving as this is stopping our release. Thank you in advance.
...
How long does it take with versioning? How long without?
Best regards, Julian