-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 8.10
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Core
-
Tags:
-
Backlog priority:900
-
Story Points:5
The actual implementation list all versions, sort by version created date then it returns the most recent.
This does not scale for document having > 500 versions.
Instead of fetching all versions state, a query should be done, either by retrieving the first document order by version date desc or by using the IS_LATEST_DOCUMENT
org.nuxeo.ecm.core.storage.dbs.DBSSession#getLastVersion
- is related to
-
NXP-21759 Make ecm:isLatestVersion an optional feature
- Resolved