failed update to the Base64MD5PasswordFilePrincipalDatabase on disk may go
unnoticed, preventing broker restart
---------------------------------------------------------------------------------------------------------------
Key: QPID-2041
URL: https://issues.apache.org/jira/browse/QPID-2041
Project: Qpid
Issue Type: Bug
Affects Versions: M4, M3, 0.5
Reporter: Robbie Gemmell
Assignee: Robbie Gemmell
Priority: Critical
Fix For: 0.6
failed update to the MD5PasswordFilePrincipalDatabase 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 Base64MD5PasswordFilePrincipalDatabase
masks the failure until another operation is attempted upon it that needs the
output of the previously failed update.
--
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:[email protected]