qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-2040) failed update to the PlainPasswordFilePrincipalDatabase on disk may go unnoticed, preventing broker restart
Date Tue, 01 Dec 2009 12:28:20 GMT

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

Martin Ritchie resolved QPID-2040.
----------------------------------

    Resolution: Fixed

Changes look good and have been merged to 0.5.x-dev

> failed update to the PlainPasswordFilePrincipalDatabase on disk may go unnoticed, preventing
broker restart
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2040
>                 URL: https://issues.apache.org/jira/browse/QPID-2040
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.5
>            Reporter: Robbie Gemmell
>            Assignee: Martin Ritchie
>            Priority: Critical
>             Fix For: 0.6
>
>
> failed update to the PlainPasswordFilePrincipalDatabase on disk may go unnoticed, preventing
broker restart
> Certain use of the File.renameTo() function is not accompanied by a check of the boolean
result, meaning a failed rename can leave the file in the wrong location, but the cached nature
of the PlainPasswordFilePrincipalDatabase masks the failure until another operation is attempted
upon it that needs the output of the previously failed update. This has been observed in a
situation where the OS Temp dir is on one (local) file system, and the broker configuration
is on another (remote NFS) filesystem, which caused the rename to fail unnoticed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message