You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2016/11/28 10:26:59 UTC

[jira] [Created] (OAK-5168) GlobbingPathFilter recompiles wildcard patterns on each change

Stefan Egli created OAK-5168:
--------------------------------

             Summary: GlobbingPathFilter recompiles wildcard patterns on each change
                 Key: OAK-5168
                 URL: https://issues.apache.org/jira/browse/OAK-5168
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.5.14
            Reporter: Stefan Egli
            Assignee: Stefan Egli
            Priority: Critical
             Fix For: 1.5.15


For the support of more-generic wildcard, the GlobbingPathFilter uses compiled regex Patterns to speed up things. Turns out however, that the PathCondition creates a new GlobbingPathFilter for each change processing. This means that the Patterns have to be compiled for each change. That results in very slow performance obviously.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)