[teiid-issues] [JBoss JIRA] (TEIIDSB-164) Issues with marhaller registration

Steven Hawkins (Jira) issues at jboss.org
Thu Jan 23 18:30:16 EST 2020


Steven Hawkins created TEIIDSB-164:
--------------------------------------

             Summary: Issues with marhaller registration
                 Key: TEIIDSB-164
                 URL: https://issues.redhat.com/browse/TEIIDSB-164
             Project: Teiid Spring Boot
          Issue Type: Sub-task
          Components: datasource
            Reporter: Steven Hawkins
             Fix For: 1.4.0, 1.3.1


Adding transactional logic to infinispan highlights several problems with marshaller registration.  The first is that all connections are working off of a shared context and each registering a marshaller for the same class type - this is not thread safe.

The other issue specific to transactions is that some operations are delayed or redone at commit time - which is called after the connection is closed potentially in a different thread and thus the marshaller provider has been removed.  Given the interplay of threads using a thread local won't work.

Potentially a transaction aware thread pool or the use of something like our execution context keep alive may be needed.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list