Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-1389

Avoid context switching on single-task indexing transactions

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0.Alpha2
    • Component/s: engine
    • Labels:
      None

      Description

      When the update queue contains a single element we have no opportunities to run the work in parallel: avoid the context switching in this case.

      Single-task indexing transactions are very likely when used by Infinispan Query, but could happen in Hibernate Search as well.

        Attachments

          Activity

            People

            • Assignee:
              sanne Sanne Grinovero
              Reporter:
              sanne Sanne Grinovero
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: