Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12393

Warn on excessive use of JobExecutionContext.log(...)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Event
    • None

    Description

      On every call of JobExecutionContext.log() a new array element is added to the "slingevent:progressLog" property of a Job. This array is persisted as multi-value propery in the underlying repository.

      In an Oak-based repository having large multi-value properties can cause performance problems on various levels (indexing, read/write performance); for that reason the Job implementation should log a warning when more than 1000 statements are logged on the Job.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joerghoh Joerg Hoh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: