You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2016/09/16 08:07:21 UTC

[jira] [Commented] (GORA-494) Lack of synchronization accessing cacheManager in InfinispanClient#createSchema()

    [ https://issues.apache.org/jira/browse/GORA-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495700#comment-15495700 ] 

Lewis John McGibbney commented on GORA-494:
-------------------------------------------

Thanks for logging these issue Ted. Do you have a patch? Would be very good to get this into 0.7.

> Lack of synchronization accessing cacheManager in InfinispanClient#createSchema()
> ---------------------------------------------------------------------------------
>
>                 Key: GORA-494
>                 URL: https://issues.apache.org/jira/browse/GORA-494
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-infinispan
>            Reporter: Ted Yu
>             Fix For: 0.7
>
>
> {code}
>   public void createSchema() {
>     try {
>       Support.registerSchema(cacheManager, persistentClass.newInstance().getSchema());
> {code}
> Access to cacheManager should be synchronized.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)