Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-107

JobOperator#getJobNames() is slow if many Batches exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3-incubating
    • 0.4-incubating
    • jbatch-core
    • None

    Description

      We have many Batches in our JobInstance table. This heavily slows down the current implementation of JobOperator#getJobNames().

      The current impl reads through all the values and performs a SecurityService check on each single batch run. That means we read in all 200k job instances just for getting the available jobNames...

      Attachments

        Activity

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: