You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2012/09/17 15:24:07 UTC

[jira] [Updated] (JCR-3426) Log warning when changes are performed with event notification thread

     [ https://issues.apache.org/jira/browse/JCR-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-3426:
----------------------------------

    Attachment: JCR-3426.patch

Proposed changes.
                
> Log warning when changes are performed with event notification thread
> ---------------------------------------------------------------------
>
>                 Key: JCR-3426
>                 URL: https://issues.apache.org/jira/browse/JCR-3426
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-3426.patch
>
>
> Using the event notification thread (this is the thread calling the
> onEvent() method of an EventListener implementation) to perform changes
> on the repository is dangerous because it is a rather expensive call
> and may cause the event queue to fill up. I think it would be good if
> the repository logs a warning with a stack trace in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira