[teiid-issues] [JBoss JIRA] (TEIID-5449) Infinispan: Update Infinispan translator to 9.3 version

Ramesh Reddy (Jira) issues at jboss.org
Tue Oct 2 14:22:00 EDT 2018


    [ https://issues.jboss.org/browse/TEIID-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642030#comment-13642030 ] 

Ramesh Reddy commented on TEIID-5449:
-------------------------------------

[~rhn-engineering-vhalbert] As I mentioned above the Infinispan context where you registered marshaller is at global scope of all the connections in the pool, so registering a marshaller at that level will either overwrite or conflict with additional concurrent queries with the same name in the cache. This can lead to wrong results or errors in load. So, above commit is not sufficient.

Either we need to 
 * Create a new cache manager for each connection (very heavyweight, recommendation is to create one per VM)
 * Need to come with some way to non-conflict marshaller names based on connection
 * Ability to register marshallers at a different scope level in Infinispan API.

The second bullet point will be my suggestion to implement.

> Infinispan: Update Infinispan translator to 9.3 version
> -------------------------------------------------------
>
>                 Key: TEIID-5449
>                 URL: https://issues.jboss.org/browse/TEIID-5449
>             Project: Teiid
>          Issue Type: Bug
>          Components: Infinispan
>    Affects Versions: 11.0
>            Reporter: Ramesh Reddy
>            Assignee: Van Halbert
>            Priority: Major
>             Fix For: 11.2
>
>
> Two changes observed
>  - The new cache create API changed, the old has been deprecated
>  -  cache.get(key) now became Async operation, that means Thread Based serialization context no longer works. This needs to be removed, but there seem to be no better alternatives to support the Async threads.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list