Details
-
Improvement
-
Resolution: Fixed
-
Major
-
15.10.6
-
None
Description
Current implementations of XWikiVersioningStoreInterface do not provide any method to only fetch a subset of the versions from the history a given document. In order to access a specific version, the only way right now is to fetch all the versions and then filter them. Also, the only way right now to count the total number of versions is to fetch them and then count them.
This leads to performance issues in some cases, such as https://jira.xwiki.org/browse/XWIKI-9046 or https://jira.xwiki.org/browse/XWIKI-9961.
The interface should provide methods that include filtering criteria, both for fetching specific versions, and also to count the number of existing versions.
Attachments
Issue Links
- causes
-
XWIKI-22187 Cannot get revisions with a criteria on a document not stored in DB
- Closed
- relates to
-
XWIKI-9046 Renaming a document holding a lot of revisions can lead to an OutOfMemory exception
- Closed
-
XWIKI-9961 Improve performances for displaying the history tab
- Closed