gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-494) Lack of synchronization accessing cacheManager in InfinispanClient#createSchema()
Date Fri, 16 Sep 2016 08:07:21 GMT

    [ 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)

Mime
View raw message