cancel
Showing results for 
Search instead for 
Did you mean: 

No lucene synchronization on alfresco community 2.1

seb
Champ in-the-making
Champ in-the-making
Hello,

I'am trying to install Alfresco 2.1 community in cluster on JBoss 4.2.2.

I used the following manual http://wiki.alfresco.com/wiki/Cluster_C … Clustering, but the lucene synchronization doesn't working.

The cache replication seems to works fine and I have tested successfully an update propagation.

My test environment is :

- Alfresco community 2.1
- Windows XP
- Cluster JBoss 4.2.2 with two nodes and one partition
- Oracle 10g
- Only one content store
- Two lucene indexes

My custom-repository.properties :

index.tracking.cronExpression=0/5 * * * * ?
index.recovery.mode=AUTO
index.tracking.adm.cronExpression=${index.tracking.cronExpression}
index.tracking.avm.cronExpression=${index.tracking.cronExpression}
# Other properties.
index.tracking.maxTxnDurationMinutes=60
index.tracking.reindexLagMs=1000
index.tracking.maxRecordSetSize=1000

My ehcache-custom.xml :

<?xml version='1.0' encoding='UTF-8'?>
<ehcache>
    <!– defaults –>
   
    <diskStore
        path="java.io.tmpdir"/>
   
    <cacheManagerPeerProviderFactory
        class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
        properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1,
        multicastGroupPort=4446"/>
    <cacheManagerPeerListenerFactory
               class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/>
    <defaultCache
        maxElementsInMemory="5000"
        eternal="true"
        timeToIdleSeconds="0"
        timeToLiveSeconds="0"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </defaultCache>
    <!– Hibernate usage –>
    <cache
        name="org.hibernate.cache.StandardQueryCache"
        maxElementsInMemory="50"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 0.4MB memory required –>
    <cache
        name="org.hibernate.cache.UpdateTimestampsCache"
        maxElementsInMemory="2000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 40MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeImpl"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 0.1 MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.QNameEntityImpl"
        maxElementsInMemory="100"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 40MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeStatusImpl"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 15MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeImpl.aspects"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 10MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeImpl.properties"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 250MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.ChildAssocImpl"
        maxElementsInMemory="200000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– general use node associations are not common  –>
    <cache
        name="org.alfresco.repo.domain.hibernate.NodeAssocImpl"
        maxElementsInMemory="5000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– low numbers of objects expected –>
    <cache
        name="org.alfresco.repo.domain.hibernate.StoreImpl"
        maxElementsInMemory="100"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– version counters –>
    <!– approx 0.4MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.VersionCountImpl"
        maxElementsInMemory="100"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 0.1MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.AppliedPatchImpl"
        maxElementsInMemory="100"
        timeToLiveSeconds="300"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– Permission related caches –>
    <!– approx 1MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbAccessControlListImpl"
        maxElementsInMemory="1000"       
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 1MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbAccessControlListImpl.entries"
        maxElementsInMemory="1000"       
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 5MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbAccessControlEntryImpl"
        maxElementsInMemory="5000"       
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 1MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbPermissionImpl"
        maxElementsInMemory="500"         
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– approx 10MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbAuthorityImpl"
        maxElementsInMemory="10000"       
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <!– approx 5MB memory required –>
    <cache
        name="org.alfresco.repo.domain.hibernate.DbAuthorityImpl.externalKeys"
        maxElementsInMemory="5000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <!– Audit caches –>
    <cache
        name="org.alfresco.repo.audit.hibernate.AuditConfigImpl"
        maxElementsInMemory="2"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.repo.audit.hibernate.AuditDateImpl"
        maxElementsInMemory="2"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.repo.audit.hibernate.AuditSourceImpl"
        maxElementsInMemory="2000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
   <!– Attribute Service Caches. –>
   <cache
       name="org.alfresco.repo.attributes.AttributeImpl"
       maxElementsInMemory="5000"
       eternal="true"
       overflowToDisk="false">
      <cacheEventListenerFactory
                   class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                        properties="replicatePuts = true,
                        replicateUpdates = true,
                        replicateRemovals = true,
                        replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
       </cache>
   <cache
       name="org.alfresco.repo.attributes.ListEntryImpl"
       maxElementsInMemory="2000"
       eternal="true"
       overflowToDisk="false">
      <cacheEventListenerFactory
                   class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                        properties="replicatePuts = true,
                        replicateUpdates = true,
                        replicateRemovals = true,
                        replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
        </cache>                           
   <cache
      name="org.alfresco.repo.attributes.MapEntryImpl"
      maxElementsInMemory="2000"
      eternal="true"
      overflowToDisk="false">
      <cacheEventListenerFactory
                   class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                        properties="replicatePuts = true,
                        replicateUpdates = true,
                        replicateRemovals = true,
                        replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
       </cache>                           
   <cache
       name="org.alfresco.repo.attributes.GlobalAttributeEntryImpl"
       maxElementsInMemory="1000"
       eternal="true"
       overflowToDisk="false">
      <cacheEventListenerFactory
                   class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                        properties="replicatePuts = true,
                        replicateUpdates = true,
                        replicateRemovals = true,
                        replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
       </cache>                           

    <!– AVM caches –>
     <cache
        name="org.alfresco.repo.avm.AVMNodeImpl"
        maxElementsInMemory="5000"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.AVMStoreImpl"
        maxElementsInMemory="100"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.VersionRootImpl"
        maxElementsInMemory="200"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.ChildEntryImpl"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.HistoryLinkImpl"
        maxElementsInMemory="200"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.MergeLinkImpl"
        maxElementsInMemory="200"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.AVMNodePropertyImpl"
        maxElementsInMemory="2000"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.AVMStorePropertyImpl"
        maxElementsInMemory="500"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
     <cache
        name="org.alfresco.repo.avm.AVMAspectNameImpl"
        maxElementsInMemory="1000"
        eternal="true"
        overflowToDisk="false">
        <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           

    <!– Internally used caches –>
    <cache
        name="org.alfresco.cache.parentAssocsCache"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.cache.userToAuthorityCache"
        maxElementsInMemory="10000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.cache.permissionsAccessCache"
        maxElementsInMemory="50000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.cache.nodeOwnerCache"
        maxElementsInMemory="20000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                               
    <cache
        name="org.alfresco.cache.personCache"
        maxElementsInMemory="1000"
        eternal="true"
        overflowToDisk="false">
       <cacheEventListenerFactory
                class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                     properties="replicatePuts = true,
                     replicateUpdates = true,
                     replicateRemovals = true,
                     replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
    </cache>                           
    <cache
        name="org.alfresco.cache.ticketsCache"
        maxElementsInMemory="1000"
        eternal="true"
        overflowToDisk="true">
        <cacheEventListenerFactory
             class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"
                  properties="replicatePuts = true,
                  replicateUpdates = true,
                  replicateRemovals = true,
                  replicateUpdatesViaCopy = true,
                    replicateAsynchronously = false"/>
       <bootstrapCacheLoaderFactory
                class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"
                properties="bootstrapAsynchronously=true, maximumChunkSizeBytes=5000000"/>        
    </cache>                           

</ehcache>

What is wrong?

Thanks for your help.
17 REPLIES 17

derek
Star Contributor
Star Contributor
Hi,
Your config looks fine, but you should upgrade to the Labs3 latest.  There have been numerous fixes to critical bugs in the index tracking in the interim.
Regards

sreevals
Champ in-the-making
Champ in-the-making
I am using rxactly the same configurations mentioned in this thread. And is sure that the fix is going to be as suggested by Derek which is upgrade to the "Labs3". I searched around it and observed that "Labs3" is the new name for Alfresco Community Edition (http://wiki.alfresco.com/wiki/Alfresco_Labs_3). So does it mean that "Labs3" is a FREELY downloadable version. Since I am using 2.1.0, I have visited http://wiki.alfresco.com/wiki/General_Upgrade_Process#The_Upgrade_Process to understand the upgrade steps from 2.1.0 Community Edition to the so called "Labs3" (Alfresco_Labs_3). But the upgrade path was mentioned only for Alfresco Enterprise releases.

Precisely, Is there a way to upgrade to "labs3" from 2.1.0 Community Edition FREELY without going for Enterprise Edition and get the fix for the lucene issues mentioned here

mrogers
Star Contributor
Star Contributor
Yes you can freely upgrade to one of the later community versions.   Although you will have to go though at least 1 intermediate version, the jump from 2.1 to 4.0 is too big.   

Please note that Labs3 is now seriously out of date although you can still use it, just as you have been using 2.1    

There were also fairly big changes to simplify the way that alfresco is configured for versions > 3.2.

sreevals
Champ in-the-making
Champ in-the-making
Thank you for the quick response.

My only concern is to make the lucene synchronisation work smoothly. For this which is simplest way? To which community version I need to upgrade. Also, could you please suggest where can I find the upgradation instructions to that version. Becoz the upgrade path that I have looked at (http://wiki.alfresco.com/wiki/General_Upgrade_Process#The_Upgrade_Process) clearly mention that those are for Alfresco Enterprise releases

Regards

Sreevals

derek
Star Contributor
Star Contributor
Yep.
You're going to have to try some upgrade paths out.  My suggestion is that you take a stab at 2.1 to 3.4.d.  If that works, go to 4.0 but 3.4.d will include many of the index fixes while 4.0 introduces SOLR, which takes it to a whole new level.
If you struggle on the 2.1 to 3.4.d upgrade, it's either something that can be sorted out or we'd have to go back to QA and find out which upgrades they tested for the community builds.
As an aside: you could, of course, get some support and access to the latest service packs and supported upgrade paths.

sreevals
Champ in-the-making
Champ in-the-making
Thank you.

The reason being I am so specific about Community Edition and Enterprise Edition is; it was mentioned in the release notes of 2.1 (http://wiki.alfresco.com/wiki/Release_2.1  - see "Important Notes") that the 2.1 Community Release distribution requires an additional library when activating clustering and a fix will be provided in time for the 2.1.0 Enterprise Release. And jira page for this bug (AR-1614) was not opening unfortunately. Otherwise I could have checked whether this fix is available in any of the subsequent community editions

Regards

Sreevals

derek
Star Contributor
Star Contributor
With a very few exceptions, we do not support 2.1 anymore.  You need to upgrade.

sreevals
Champ in-the-making
Champ in-the-making
.


Thank you for your time.

The Release notes of 2.1 (http://wiki.alfresco.com/wiki/Release_2.1) suggests that "The appropriate version of the JSR 166 Backport must be dropped into your app server" as an additional library when activating clustering . So I am thinking to try this, to avoid an upgrade since upgrading involves lot of risks especially in terms of timeline. But can you suggest whether this can fix the lucene index issue.

btw, Any idea on what exactly is issue AR-1614 mentioned in the release notes. Because https://issues.alfresco.com/browse/AR-1614 land up no-where

Regards

Sreevals

derek
Star Contributor
Star Contributor
You need to upgrade.  I can't see how dropping in untested backport of a library into a release is less risky than upgrading to a tested (and currently-supported) release.