<?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: Version History and 'can't create branches' error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284784#M237914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally, we have found the real cause. We are working on an Oracle RAC database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco defines the SEQUENCE as follows on install:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;CREATESEQUENCE ALFRESCO_OWNER.ALF_NODE_SEQ&lt;BR /&gt;&amp;nbsp; MAXVALUE 9999999999999999999999999999&lt;BR /&gt;&amp;nbsp; MINVALUE 1&lt;BR /&gt;&amp;nbsp; NOCYCLE&lt;BR /&gt;&amp;nbsp; CACHE 20&lt;BR /&gt;&amp;nbsp; NOORDER;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've observed behaviours on node-dbid retrieval like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 101 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 2 at node-A: nextval -&amp;gt; 102 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-B: nextval -&amp;gt; 121 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-B: nextval -&amp;gt; 122 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 103 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 104 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which will produce disordered settings (103 seems to be greater than 122).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Enterprise defines SEQUENCES as ORDER at AlfrescoCreate-RepoTables.sql, so this issue will not be reproduced on a real environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;CODE&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE SEQUENCE alf_node_seq START WITH 1 INCREMENT BY 1 ORDER;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/CODE&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 17:00:00 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2014-07-10T17:00:00Z</dc:date>
    <item>
      <title>Version History and 'can't create branches' error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284781#M237911</link>
      <description>We have an installation of Alfresco 4.2.c over Oracle 11g. Despite this is not a supported configuration for Community versions, we need to demonstrate that Alfresco works fine before adopting Alfresco Enterprise.Every functionality seems to work but versioning. Reading Alfresco source code, we have</description>
      <pubDate>Wed, 09 Jul 2014 13:05:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284781#M237911</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2014-07-09T13:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Version History and 'can't create branches' error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284782#M237912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The version service is due a rework and a cleanup.&amp;nbsp;&amp;nbsp; However first someone needs to make a hard judgement about how it should work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Given that Oracle is not supported for community I don't know why it would return a disordered sequence.&amp;nbsp;&amp;nbsp; But I'd suspect something wrong with the database mapping or the driver.&amp;nbsp;&amp;nbsp; There should be tickets in JIRA discussing the version label rework.&amp;nbsp;&amp;nbsp; I remember there were some issues with it causing this branches error a few years ago.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your real goal is to use Alfresco Enterprise then I suggest you sign up for an Enterprise Trial which could be on Oracle.&amp;nbsp;&amp;nbsp; If not then at least use 4.2.f&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime if something looks like its what you want then use it.&amp;nbsp;&amp;nbsp; IIRC this version label stuff is all pretty simple and extendable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 16:33:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284782#M237912</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2014-07-09T16:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Version History and 'can't create branches' error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284783#M237913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your point of view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some external reasons make imposible for us to upgrade to 4.2.f or to an Enterprise trial by now. However, Enterprise adoption is a must in a middle term for this case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The real problem is that we have identified a cause (Oracle sequence incorrect order) an only one problem. Maybe there are other functionalities failing out there. We'll try to fix the sequence assignments, but it seems a very hard task.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jul 2014 18:45:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284783#M237913</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2014-07-09T18:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Version History and 'can't create branches' error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284784#M237914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Finally, we have found the real cause. We are working on an Oracle RAC database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco defines the SEQUENCE as follows on install:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;CREATESEQUENCE ALFRESCO_OWNER.ALF_NODE_SEQ&lt;BR /&gt;&amp;nbsp; MAXVALUE 9999999999999999999999999999&lt;BR /&gt;&amp;nbsp; MINVALUE 1&lt;BR /&gt;&amp;nbsp; NOCYCLE&lt;BR /&gt;&amp;nbsp; CACHE 20&lt;BR /&gt;&amp;nbsp; NOORDER;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We've observed behaviours on node-dbid retrieval like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 101 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 2 at node-A: nextval -&amp;gt; 102 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-B: nextval -&amp;gt; 121 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-B: nextval -&amp;gt; 122 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 103 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Session 1 at node-A: nextval -&amp;gt; 104 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which will produce disordered settings (103 seems to be greater than 122).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Enterprise defines SEQUENCES as ORDER at AlfrescoCreate-RepoTables.sql, so this issue will not be reproduced on a real environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;CODE&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE SEQUENCE alf_node_seq START WITH 1 INCREMENT BY 1 ORDER;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/CODE&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 17:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/version-history-and-can-t-create-branches-error/m-p/284784#M237914</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2014-07-10T17:00:00Z</dc:date>
    </item>
  </channel>
</rss>

