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.

Regards,

Tanvi Shah
Software Developer
ECM
SpringerNature Technology and Publishing Solutions
Tower 8 & 9, Magarpatta City SEZ, Hadapsar, Pune 411 013, Maharashtra, India
T +91 20 7100 7061
[email protected]<mailto:[email protected]>
www.springernature.com<http://www.springernature.com/>
---
Springer Nature is one of the world's leading global research, educational and 
professional publishers, created in 2015 through the combination of Nature 
Publishing Group,
Palgrave Macmillan, Macmillan Education and Springer Science+Business Media.

This e-mail is confidential and should not be used by anyone who is not the 
original intended recipient. If you have received this e-mail in error please 
inform the sender and delete it from your mailbox or any other storage 
mechanism. Springer Nature Technology and Publishing Solutions Private Limited 
does not accept liability for any statements made which are clearly the 
sender's own and not expressly made on behalf of Springer Nature Technology and 
Publishing Solutions Private Limited or one of their agents.
Please note that Springer Nature Technology and Publishing Solutions Private 
Limited and their agents and affiliates do not accept any responsibility for 
viruses or malware that may be contained in this e-mail or its attachments and 
it is your responsibility to scan the e-mail and attachments (if any).
Springer Nature Technology and Publishing Solutions Private Limited. Registered 
office: Upper Ground Floor, Wing B, Tower 8, Magarpatta City SEZ, Hadapsar Pune 
MH 411013 IN
Registered number: U72200PN2006FTC128967

Reply via email to