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

Van Halbert (Jira) issues at jboss.org
Thu Oct 4 09:26:00 EDT 2018


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

Van Halbert edited comment on TEIID-5449 at 10/4/18 9:25 AM:
-------------------------------------------------------------

In a production environment, once a cache has data, it isn't going to change without a migration.     So if a VDB has a related cache table updated, it must be backwards compatible.  Also, the caveat being, there can't be 2 entities with the same name.   Therefore, 2 simultaneous connections would not fail.    However, in a development environment, there's possibility for collisions when  2 people would be developing using the same entity name, regardless if they are trying to use the same cache or not.  The collision could occur due to the wrong marshaller instance being used (last in wins).

Issue:  the marshaller registration uses a single instance, so the last one registered for the same entity name will be used.   

Could use MashallerProvider , but as indicated, reads are async, so the thread based model doesn't work.  


was (Author: van.halbert):
In a production environment, once a cache has data, it isn't going to change without a migration.     So if a VDB has a related cache table updated, it must be backwards compatible.   Therefore, 2 simultaneous connections would not fail.    However, in a development environment, there's possibility for collisions when  2 people would be using the same entity name.

> 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