<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Lucene Index not getting updated properly outside the cluster in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281779#M234909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you actually "syncing" the index (like you would with backup and restore with a tool like rsync) from the clustered index somehow or or trying to build a separate instance on some remote non clustered instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general I'd expect the UI to have problems but lucene to be O.K.&amp;nbsp;&amp;nbsp; You seem to have it the other way around which is strange.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But lets be clear you have a "broken cluster" so there will be issues and problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2014 13:47:46 GMT</pubDate>
    <dc:creator>mrogers</dc:creator>
    <dc:date>2014-07-04T13:47:46Z</dc:date>
    <item>
      <title>Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281775#M234905</link>
      <description>HIWe are using alfresco enterprise 4.1.5 in our project. We just upgraded from alfresco 3.4 to 4.1, and since then we are facing an issue with the lucene indexing. We have three alfresco nodes out of which two are residing inside the cluster and one outside of it.When ever we are creating a document</description>
      <pubDate>Tue, 01 Jul 2014 08:42:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281775#M234905</guid>
      <dc:creator>somil</dc:creator>
      <dc:date>2014-07-01T08:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281776#M234906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This might be caused by more server clock in accurately,Please check the thrid node in your cluster to make sure it si&amp;nbsp; time-synchronized with the other two&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For recovery ,have you tried set &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; index.recovery.mode=AUTO&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; in the third node and restart it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 13:28:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281776#M234906</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2014-07-01T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281777#M234907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;the third node is out of the cluster, and the index.recovery.mode=AUTO is already set.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 14:18:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281777#M234907</guid>
      <dc:creator>somil</dc:creator>
      <dc:date>2014-07-01T14:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281778#M234908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Do you have idea how to solve this issue, syncing indexes in the nodes which are not in cluster?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:58:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281778#M234908</guid>
      <dc:creator>somil</dc:creator>
      <dc:date>2014-07-04T07:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281779#M234909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you actually "syncing" the index (like you would with backup and restore with a tool like rsync) from the clustered index somehow or or trying to build a separate instance on some remote non clustered instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In general I'd expect the UI to have problems but lucene to be O.K.&amp;nbsp;&amp;nbsp; You seem to have it the other way around which is strange.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But lets be clear you have a "broken cluster" so there will be issues and problems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 13:47:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281779#M234909</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-07-04T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281780#M234910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is a separate instance out of the cluster. The lucene index is rebuilt when I restart the node. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was working fine before the upgrade to alfresco 4.1.5. We had alfresco 3.4.9 previously and this issue was not present there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Initially in the UI as well we had seen the stale node issue but then we fixed it by invalidating the nodeCache in the ehcache-custom.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure what is a "broken cluster". Can you elaborate more on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 11:03:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281780#M234910</guid>
      <dc:creator>somil</dc:creator>
      <dc:date>2014-07-05T11:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281781#M234911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Somil,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the similar architecture - 2 nodes in cluster and 3rd node outside for rebuilding indexes. The fact that 3rd node is not in the cluster (EHCache is not synchronized) means you have a broken cluster. With version 3.x it works ok, but after we upgraded to 4.x some issues appeared with reindexation and DB data. Maybe you will face it as I do, but it depends on environment and Alfresco release so maybe you will be lucky.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To your trouble - if you have a 3rd node outside of cluster you need:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Completely disable EHCache on this 3rd node, because you need to use data directly from DB. Nodes in cluster inform each other about changes, but your 3rd node is outside of cluster and it's not receiving these infos.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try to add this JVM parameter to your app. server:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dnet.sf.ehcache.disabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can verify if EHCache is enabled from log file or do a heapdump - You will see if EHCache is using some heap or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) 3rd node should be just readonly. You need to change these properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server.transaction.mode.default=PROPAGATION_REQUIRED, readOnly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;server.transaction.allow-writes=false&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 02:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281781#M234911</guid>
      <dc:creator>thanak</dc:creator>
      <dc:date>2014-12-15T02:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281782#M234912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Tomas for the suggestion. But after applying your suggested configuration, now the server is failing to load at the startup itself. It is throwing the following exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt; java.lang.IllegalStateException: dictionaryDAO.init() called, yet no namespace registry for domain&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 09:46:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281782#M234912</guid>
      <dc:creator>somil</dc:creator>
      <dc:date>2014-12-17T09:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lucene Index not getting updated properly outside the cluster</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281783#M234913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see, I'm using version 4.0.2.44 ENT but in your release 4.1.5 (if you are still using it) is a change in NamespaceDAOImpl which causing that exception with EHCache disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I attached the NamespaceDAOImpl from 4.0.2.44 so you can try to figure out how to solve this exception. I should also note that in our case we had to upgrade to latest service pack for our release to make 3rd node reindexation works so I'm suggesting you to check if there isn't a newer SP for your release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 19:22:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/lucene-index-not-getting-updated-properly-outside-the-cluster/m-p/281783#M234913</guid>
      <dc:creator>thanak</dc:creator>
      <dc:date>2015-02-15T19:22:41Z</dc:date>
    </item>
  </channel>
</rss>

