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/18 10:18:08 UTC

[jira] [Resolved] (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 resolved JCR-3426.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.2

Thanks for the review. Good point about the stack trace on debug only.

Committed a modified version of the patch in revision 1387041
                
> 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
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>         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