mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-786: WCM Cluster / Lucene: Searching in staging returns duplicate entries (when concurrently submtting)
- fixed duplication arising from indexing 0-1 and 0-2 against the index for near simultaneous snapshots - tracking has not been modified nor has index rebuild - the latest index info from the AVM index is definitive and complete - we do not have to do additional work as we do for DM git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -211,6 +211,28 @@ public interface AVMStore
|
||||
*/
|
||||
public List<VersionDescriptor> getVersions();
|
||||
|
||||
/**
|
||||
* Get all the versions starting from the last until the version specified
|
||||
* @param version - the version which which to end
|
||||
* @return - the versions in descending order
|
||||
*/
|
||||
public List<VersionDescriptor> getVersionsFrom(int version);
|
||||
|
||||
/**
|
||||
* Get all the versions after and including the one specified
|
||||
* @param version - the version to start from
|
||||
* @return - the versions in ascending order
|
||||
*/
|
||||
public List<VersionDescriptor> getVersionsTo(int version);
|
||||
|
||||
/**
|
||||
* Get all versions from an including startVersion up to but NOT including endVersion
|
||||
* @param startVersion
|
||||
* @param endVersion
|
||||
* @return - the versions in ascending order
|
||||
*/
|
||||
public List<VersionDescriptor> getVersionsBetween(int startVersion, int endVersion);
|
||||
|
||||
/**
|
||||
* Get the versions from between the given dates. From or to
|
||||
* may be null but not both.
|
||||
|
Reference in New Issue
Block a user