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/04 11:02:07 UTC

[jira] [Created] (JCR-3419) Overwriting Cache Entry Warnings

Marcel Reutegger created JCR-3419:
-------------------------------------

             Summary: Overwriting Cache Entry Warnings
                 Key: JCR-3419
                 URL: https://issues.apache.org/jira/browse/JCR-3419
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.5.1
            Reporter: Marcel Reutegger
            Priority: Minor
             Fix For: 2.5.2


Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Updated] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-3419:
----------------------------------

    Fix Version/s:     (was: 2.5.2)
    
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-3419.patch
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Resolved] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-3419.
-----------------------------------

    Resolution: Fixed

Fixed in revision: 1380499
                
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Updated] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-3419:
----------------------------------

    Status: Patch Available  (was: Reopened)
    
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>         Attachments: JCR-3419.patch
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Reopened] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reopened JCR-3419:
-----------------------------------


Re-opening. I still see those warnings when Sessions concurrently read a property while another session removes it and adds it again with a single save call.
                
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Assigned] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reassigned JCR-3419:
-------------------------------------

    Assignee: Marcel Reutegger
    
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Updated] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-3419:
----------------------------------

    Attachment: JCR-3419.patch

Patch with a test that shows the warnings. It also contains a fix, which resurrects a transiently removed property from the attic if it is set again later.

All tests pass, but I'm still not sure it is 100% correct. The affected code contains lots of comments about concurrency issues, but unfortunately no tests.

Feedback welcome.
                
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>         Attachments: JCR-3419.patch
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Updated] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated JCR-3419:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.2
           Status: Resolved  (was: Patch Available)

Patch applied in revision: 1382673
                
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 2.5.2
>
>         Attachments: JCR-3419.patch
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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

[jira] [Commented] (JCR-3419) Overwriting Cache Entry Warnings

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13449546#comment-13449546 ] 

Marcel Reutegger commented on JCR-3419:
---------------------------------------

Had a chat with Stefan and he pointed out Observation and EventListeners. The patch has an effect on the events sent to event listeners. Right now it sends out a PROPERTY_REMOVED and a PROPERTY_ADDED event. With the patch only a PROPERTY_MODIFIED is fired. I think that's OK and according to spec, but some applications may still depend on the current behaviour...
                
> Overwriting Cache Entry Warnings
> --------------------------------
>
>                 Key: JCR-3419
>                 URL: https://issues.apache.org/jira/browse/JCR-3419
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5.1
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>         Attachments: JCR-3419.patch
>
>
> Recently the logs show warnings about overwriting cache entries. This is a regression caused by JCR-3345 and happens when an existing node is removed and created again with the same UUID in a single save call.

--
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