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

Sling Mappings creates new threads to reload mappings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.10
    • JCR Resource 2.1.0
    • JCR

    Description

      Whenever the /etc/map or a sling:vanityPath, sling:vanityOrder or sling:redirect is modified a new thread is created to recreate the maps. If these values get modified very quickly, then its possible to create too many new threads and kill the system. A better implementation would be to check to see if a thread is running and reuse that thread.

      Attachments

        1. MapEntries.java
          18 kB
          Hakim Sadikali

        Activity

          People

            fmeschbe Felix Meschberger
            sadhakim Hakim Sadikali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified