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

Improve handling of updates to mapping (alias, vanity path)

    XMLWordPrintableJSON

Details

    Description

      The update handling for the mapping including aliases and vanity path is a simple algorithm which simply updates the whole mapping. Especially with large mapping info spread across the repository, a simple update of a single property results in the whole mapping info to be recreated.
      It would be great if this could be improved.
      Right now, only the active mapping is hold in memory - as a change of a single property might cause to activate a totally different mapping than the one which was changed (e.h. when the ordering is changed), the update needs to be more complex or more information needs to be hold in memory.
      In addition there is more to consider, like if the vanity path info is changed, only the new value is available - but the old is gone.

      Attachments

        1. SLING-3505-patch3-je.txt
          31 kB
          Justin Edelson
        2. SLING-3505-patch3.txt
          34 kB
          Antonio Sanso
        3. MapEntry.java.rej
          2 kB
          Justin Edelson
        4. SLING-3505-patch3.txt
          36 kB
          Antonio Sanso
        5. SLING-3505-patch2.txt
          24 kB
          Justin Edelson
        6. SLING-3505-patch2.txt
          24 kB
          Justin Edelson
        7. SLING-3505-patch.txt
          18 kB
          Antonio Sanso

        Issue Links

          Activity

            People

              asanso Antonio Sanso
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: