Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5631

Issues with ThreadReuseExecutor

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 12.1
    • Component/s: Query Engine
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shawkins Steven Hawkins
                  Reporter:
                  shawkins Steven Hawkins
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: