This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b946c24d-f42e-40d8-b061-5957a04be47c XWIKI-22186 Open

Allow to store a new version without loading the whole document archive

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-0dca1a02-6f8f-4703-811c-c388b5f9cfd2 Simon Urli created this issue on 24/May/24 11:37
 
Summary: Allow to store a new version without loading the whole document archive
Issue Type: cid:jira-generated-image-avatar-b946c24d-f42e-40d8-b061-5957a04be47c Improvement
Affects Versions: 15.10.9
Assignee: Unassigned
Components: Old Core
Created: 24/May/24 11:37
Labels: performance
Priority: cid:jira-generated-image-static-major-3ca4fba2-04e9-465a-9e81-ac6121457e92 Major
Reporter: Simon Urli
Description:

It's currently not possible to save a document version in the archive without loading it entirely: if the document contains hundreds of versions it might involve needing a lot of memory just for that.

We should allow to load only a few revisions (we need at least a full complete revision, not just a diff), and then allow to save a partial archive. And ensure that we don't systematically load the entire archive.

 
 

1 comment

 
cid:jira-generated-image-avatar-0dca1a02-6f8f-4703-811c-c388b5f9cfd2 Simon Urli on 24/May/24 11:38
 

We tried in the past to fix this as part of XWIKI-9046 but the fix wasn't good and we had to revert it. Also this problem is not related to renaming: we have exactly same issue with standard save.