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:
@@ -1617,4 +1617,38 @@ public class AVMServiceImpl implements AVMService
|
||||
}
|
||||
fAVMRepository.setMimeType(path, mimeType);
|
||||
}
|
||||
|
||||
public List<VersionDescriptor> getStoreVersionsTo(String name, int version)
|
||||
{
|
||||
if (name == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal null argument.");
|
||||
}
|
||||
return fAVMRepository.getAVMStoreVersionsTo(name, version);
|
||||
}
|
||||
|
||||
public List<VersionDescriptor> getStoreVersionsFrom(String name, int version)
|
||||
{
|
||||
if (name == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal null argument.");
|
||||
}
|
||||
return fAVMRepository.getAVMStoreVersionsFrom(name, version);
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.alfresco.service.cmr.avm.AVMService#getStoreVersionsBetween(java.lang.String, int, int)
|
||||
*/
|
||||
public List<VersionDescriptor> getStoreVersionsBetween(String name, int startVersion, int endVersion)
|
||||
{
|
||||
if (name == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal null argument.");
|
||||
}
|
||||
return fAVMRepository.getAVMStoreVersionsBetween(name, startVersion, endVersion);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user