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

Background threads should not be started when not required

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

      Description

      Since HSEARCH-1699 Closed we have a new dedicated thread for the "sync batching backend".
      When this one is used, the traditional Executor which was always used before is never needed, but it's still being started.

      In the opposite case of someone configuring an "async backend", the traditional Executor will be used but the new thread is being started anyway.

      The correct behaviour should be to start either one or the other, never both.

      Also useful to add some more logging to this component.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: