<?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 Solr - Missing transactions indexing slow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262859#M215989</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm seeing this in &lt;/SPAN&gt;&lt;A href="https://servername:8443/solr/admin/cores?action=REPORT&amp;amp;wt=xml" rel="nofollow noopener noreferrer"&gt;https://servername:8443/solr/admin/cores?action=REPORT&amp;amp;wt=xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;response&amp;gt;&lt;BR /&gt;&amp;lt;lst name="responseHeader"&amp;gt;&lt;BR /&gt;&amp;lt;int name="status"&amp;gt;0&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;int name="QTime"&amp;gt;454&amp;lt;/int&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;BR /&gt;&amp;lt;lst name="report"&amp;gt;&lt;BR /&gt;&amp;lt;lst name="alfresco"&amp;gt;&lt;BR /&gt;&amp;lt;long name="DB transaction count"&amp;gt;3840&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="DB acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicated transactions in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicated acl transactions in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of transactions in the index but not the DB"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of acl transactions in the index but not the DB"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of missing transactions from the Index"&amp;gt;2472&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="First transaction missing from the Index"&amp;gt;15688&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of missing acl transactions from the Index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index transaction count"&amp;gt;1368&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index unique transaction count"&amp;gt;1368&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index unique acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index leaf count"&amp;gt;2031&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicate leaves in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Last index commit time"&amp;gt;1318320543887&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;str name="Last Index commit date"&amp;gt;2011-10-11T10:09:03&amp;lt;/str&amp;gt;&lt;BR /&gt;&amp;lt;long name="Last TX id before holes"&amp;gt;15687&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;BR /&gt;&amp;lt;lst name="archive"&amp;gt;&lt;BR /&gt;&amp;lt;long name="DB transaction count"&amp;gt;3840&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="DB acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicated transactions in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicated acl transactions in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of transactions in the index but not the DB"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of acl transactions in the index but not the DB"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of missing transactions from the Index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of missing acl transactions from the Index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index transaction count"&amp;gt;3840&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index unique transaction count"&amp;gt;3840&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index unique acl transaction count"&amp;gt;56&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Index leaf count"&amp;gt;1766&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Count of duplicate leaves in the index"&amp;gt;0&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;long name="Last index commit time"&amp;gt;1321515768375&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;str name="Last Index commit date"&amp;gt;2011-11-17T08:42:48&amp;lt;/str&amp;gt;&lt;BR /&gt;&amp;lt;long name="Last TX id before holes"&amp;gt;21961&amp;lt;/long&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;BR /&gt;&amp;lt;/lst&amp;gt;&lt;BR /&gt;&amp;lt;/response&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt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lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;The issue here is &amp;lt;long name="Count of missing transactions from the Index"&amp;gt;2472&amp;lt;/long&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it has just changed the number slightly, and it has been so for almost 24 hours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is going on (or actually not going on)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I constantly see around 50% cpu usage. Turned of solr and on lucene, and it indexes all in very short time, but solr is unusable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;What kind of debugging can I turn on to research this issue further?&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The machine is rhel 6.1, mysql 5.1, tomcat 6.0.32 on the same machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2011 15:38:48 GMT</pubDate>
    <dc:creator>loftux</dc:creator>
    <dc:date>2011-11-17T15:38:48Z</dc:date>
    <item>
      <title>Solr - Missing transactions indexing slow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262859#M215989</link>
      <description>I'm seeing this in https://servername:8443/solr/admin/cores?action=REPORT&amp;amp;wt=xml&amp;lt;response&amp;gt;&amp;lt;lst name="responseHeader"&amp;gt;&amp;lt;int name="status"&amp;gt;0&amp;lt;/int&amp;gt;&amp;lt;int name="QTime"&amp;gt;454&amp;lt;/int&amp;gt;&amp;lt;/lst&amp;gt;&amp;lt;lst name="report"&amp;gt;&amp;lt;lst name="alfresco"&amp;gt;&amp;lt;long name="DB transact</description>
      <pubDate>Thu, 17 Nov 2011 15:38:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262859#M215989</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-11-17T15:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - Missing transactions indexing slow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262860#M215990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andy just updated the wiki page &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_And_SOLR" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_And_SOLR&lt;/A&gt;&lt;SPAN&gt; with some Logging howto.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following that, I have&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Nov 17, 2011 5:39:30 PM org.alfresco.solr.tracker.CoreTracker trackRepository&lt;BR /&gt;INFO: …. from Transaction [id=21961, commitTimeMs=1321515768375, updates=1, deletes=1]&lt;BR /&gt;Nov 17, 2011 5:39:30 PM org.alfresco.solr.tracker.CoreTracker trackRepository&lt;BR /&gt;INFO: …. to Transaction [id=21961, commitTimeMs=1321515768375, updates=1, deletes=1]&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;mysql&amp;gt; select max(id) from alf_transaction;&lt;BR /&gt;+———+&lt;BR /&gt;| max(id) |&lt;BR /&gt;+———+&lt;BR /&gt;|&amp;nbsp;&amp;nbsp; 21961 |&lt;BR /&gt;+———+&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;That is according to documentation, index is up to date, since transaction id is the latest. Still, why am I seeing missing transactions from index in the report page?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:42:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262860#M215990</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-11-17T16:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - Missing transactions indexing slow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262861#M215991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the cause of the issue looking in tomcat/logs/catalina.out, that is where solr logs its errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The error i found was "Node without parents does not have root aspect", this &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=8&amp;amp;t=36133" rel="nofollow noopener noreferrer"&gt;post&lt;/A&gt;&lt;SPAN&gt; helped me resolve the issue, it involves doing direct changes to the db. There were 112 nodes in the db that had no root aspect, all created on the day for the upgrade. Since I didn't help out with the upgrade, I'm not sure if they are the result of failing patches during the upgrade.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once past that error, it does take a long time to complete initial full indexing with solr compared to lucene. That I think may be due to &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=14&amp;amp;t=41573" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=14&amp;amp;t=41573&lt;/A&gt;&lt;SPAN&gt; "alfresco 4.0.b overuse database", and that this user filed as issue &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-11546" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-11546&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 07:08:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262861#M215991</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-11-18T07:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - Missing transactions indexing slow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262862#M215992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Loftux,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Quick question. Which version of Alfresco are you using? Community or Enterprise? I'm struggling to get Solr working with Alfresco (I'm using Enterprise 4 Beta…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 11:59:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262862#M215992</guid>
      <dc:creator>fstnboy</dc:creator>
      <dc:date>2011-11-22T11:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Solr - Missing transactions indexing slow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262863#M215993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the Community, built from head r31944&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2011 12:13:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-missing-transactions-indexing-slow/m-p/262863#M215993</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2011-11-22T12:13:37Z</dc:date>
    </item>
  </channel>
</rss>

