<?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: aclOptimization flag in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327850#M14851</link>
    <description>&lt;P&gt;Hi &lt;A href="https://app.quandora.com/object/4ea67552-e58a-4588-9eea-011263e1e1bf"&gt;Victor Sánchez&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe this link could be helpful to get the info about acl optimization.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://doc.nuxeo.com/display/ADMINDOC/Read+ACLs" target="test_blank"&gt;https://doc.nuxeo.com/display/ADMINDOC/Read+ACLs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
    <pubDate>Sat, 05 Mar 2016 11:48:15 GMT</pubDate>
    <dc:creator>jmnrk_</dc:creator>
    <dc:date>2016-03-05T11:48:15Z</dc:date>
    <item>
      <title>aclOptimization flag</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327849#M14850</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;this question is about aclOptimization flag into repository descriptor and trying to know how it works. My current scenario:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;2 NX 6.0 instances clustered (over Ubuntu and PostgresSQL with tunning)&lt;/LI&gt;
&lt;LI&gt;12M documents into repository&lt;/LI&gt;
&lt;LI&gt;2 Elastic nodes clustered&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So, if we have aclOptimization=true, NX initialization takes about 10-15min, so we have the function &lt;EM&gt;nx_update_read_acls&lt;/EM&gt; running and running into DB. When it is started, Navigation is good (elastic works fine), searchs too, ... but for example, the operation for settting or removing permissions into UI or into a Worker (implemented by us) is during about &lt;STRONG&gt;4h&lt;/STRONG&gt; and it ends always with ROLLBACK, &lt;STRONG&gt;so permission management is not possible&lt;/STRONG&gt;; also, we can see a lot of call for nx_update_read_acls after session.save(), etcetera, ... We know the answer &lt;A href="https://answers.nuxeo.com/general/q/36cb86bd181e47f2ad9009bde6833b63/How-to-modify-nx_update_read_acls-permanently"&gt;https://answers.nuxeo.com/general/q/36cb86bd181e47f2ad9009bde6833b63/How-to-modify-nx_update_read_acls-permanently&lt;/A&gt;, but I don't look for a change in latest versions into Nuxeo github with Postgresql update.&lt;/P&gt;
&lt;P&gt;Then, the question is: if we set aclOptimization=false, and having NX starting about &lt;STRONG&gt;60s&lt;/STRONG&gt; and navigation is normal too, managing permission is normally as well, etcetera... What is the real optimization of this aclOptimization? Only cache? If we have a aclOptimization=false, then navigation returns the ContentView documents OK (from elastic), NXQL with Default provider searchs OK and fast, … Also, If we want to activate again the flag to true and execute the &lt;EM&gt;nx_rebuild_read_acls&lt;/EM&gt; function, it runs about &lt;STRONG&gt;10-20 hours&lt;/STRONG&gt;...&lt;/P&gt;
&lt;P&gt;So, we are considering to disable aclOptimization to work fine, but Nuxeo distribution has aclOptimization=true by default. Is there any possible fix or changes to resolve it for a correct behavior?&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;
&lt;P&gt;VS!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 16:15:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327849#M14850</guid>
      <dc:creator>Victor_Sánchez</dc:creator>
      <dc:date>2016-03-04T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: aclOptimization flag</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327850#M14851</link>
      <description>&lt;P&gt;Hi &lt;A href="https://app.quandora.com/object/4ea67552-e58a-4588-9eea-011263e1e1bf"&gt;Victor Sánchez&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe this link could be helpful to get the info about acl optimization.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://doc.nuxeo.com/display/ADMINDOC/Read+ACLs" target="test_blank"&gt;https://doc.nuxeo.com/display/ADMINDOC/Read+ACLs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 11:48:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327850#M14851</guid>
      <dc:creator>jmnrk_</dc:creator>
      <dc:date>2016-03-05T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: aclOptimization flag</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327851#M14852</link>
      <description>&lt;P&gt;Thank you [jmnrk](https&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 12:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/acloptimization-flag/m-p/327851#M14852</guid>
      <dc:creator>Victor_Sánchez</dc:creator>
      <dc:date>2016-03-05T12:21:36Z</dc:date>
    </item>
  </channel>
</rss>

