[teiid-issues] [JBoss JIRA] (TEIID-5631) Issues with ThreadReuseExecutor

Steven Hawkins (Jira) issues at jboss.org
Tue Jan 29 12:05:00 EST 2019


Steven Hawkins created TEIID-5631:
-------------------------------------

             Summary: Issues with ThreadReuseExecutor
                 Key: TEIID-5631
                 URL: https://issues.jboss.org/browse/TEIID-5631
             Project: Teiid
          Issue Type: Bug
          Components: Query Engine
            Reporter: Steven Hawkins
            Assignee: Steven Hawkins
             Fix For: 12.1


In looking at flattening the metrics there are a couple of issues with the ThreadReuseExecutor:
1. The getStats method uses unsynchronized access to get the queue size.
2. The queue ordering prefers older work items to newer - even after repeated queuing.
3. Thread tracking could be more concurrent.



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


More information about the teiid-issues mailing list