Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1252

Lazy privilege access in AccessControlValidator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13
    • core
    • None

    Description

      The AccessControlValidatorProvider.getPrivileges() method takes a few percent of the time spent processing small commits. It's not that much, but privileges are only really needed for the normally quite rare commits that modify ACEs. Thus it would make sense to defer the loading of privileges to only when they're actually needed.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            jukkaz Jukka Zitting
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: