[ 
https://jira.nuxeo.com/browse/NXP-6038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=89484#comment-89484
 ] 

Benoit Delbosc edited comment on NXP-6038 at 6/22/11 6:22 PM:
--------------------------------------------------------------

Fixing concurrent update_read_acls for PosgreSQL, and make optimized read acls 
efficient on concurrent read/write operations.

See the "Source" tab for list of changeset.


      was (Author: bdelbosc):
    Fixing concurrent update_read_acls for PosgreSQL, and make optimized read 
acls efficient on concurrent read/write operations.

http://hg.nuxeo.org/nuxeo/nuxeo-core/rev/9c2f000760cc

  
> PostgreSQL read acl optimizations crash under high write concurrency
> --------------------------------------------------------------------
>
>                 Key: NXP-6038
>                 URL: https://jira.nuxeo.com/browse/NXP-6038
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core SQL Storage
>    Affects Versions: 5.4
>            Reporter: Olivier Grisel
>            Assignee: Benoit Delbosc
>             Fix For: 5.4.1
>
>
> If asynchronous event listeners create many new documents in the same folder 
> concurrently, the call to CoreSession#save() fails randomly throwing the 
> exception mentioned in the first comment of this jira issue. Note: care has 
> been taken to ensure that the names (local path segments) of the newly 
> created documents do not collide.
> Adding:
>   <aclOptimizations enabled="false" />
>  inside the tag:
>     <repository name="default"
>       factory="org.nuxeo.ecm.core.storage.sql.ra.PoolingRepositoryFactory">
>       <repository name="default">
>       [...]
>       </repository>
>     </repository>
>  in the default-repository-config.xml file in a custom configuration template 
> makes it possible to workaround the problem.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to