qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-5979) Derby/JDBC logs unnecessary 'message not found' at WARN on rollback.
Date Fri, 08 Aug 2014 12:56:11 GMT

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

Keith Wall updated QPID-5979:
-----------------------------

    Description: 
If using Derby or JDBC virtual host, if I rollback producing transaction (or forcedly close
a connection), I see the following WARN:

{noformat}
2014-08-08 13:45:21,258 WARN  [IoReceiver - /127.0.0.1:62984] (derby.DerbyMessageStore) -
Message metadata not found for message id 1
{noformat}

There is no issue here that requires the user to be warned,  The message should be downgraded
to INFO (like BDB) or maybe DEBUG.

BDB uses

{code:java}
getLogger().info("Message not found (attempt to remove failed - probably application initiated
rollback) "  +  messageId);
{code}




  was:
If using Derby or JDBC virtual host, if I rollback producing transaction (or forcedly close
a connection), I see the following WARN:

{noformat}
2014-08-08 13:45:21,258 WARN  [IoReceiver - /127.0.0.1:62984] (derby.DerbyMessageStore) -
Message metadata not found for message id 1
{noformat}

There is no issue here that requires the user to be warned,  The message should be downgraded
to INFO (like BDB) or maybe DEBUG.

BDB uses

{code:java}
                        getLogger().info(
                                "Message not found (attempt to remove failed - probably application
initiated rollback) "
                                +
                                messageId);
{code:java}





> Derby/JDBC logs unnecessary 'message not found' at WARN on rollback.
> --------------------------------------------------------------------
>
>                 Key: QPID-5979
>                 URL: https://issues.apache.org/jira/browse/QPID-5979
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: 0.31
>
>
> If using Derby or JDBC virtual host, if I rollback producing transaction (or forcedly
close a connection), I see the following WARN:
> {noformat}
> 2014-08-08 13:45:21,258 WARN  [IoReceiver - /127.0.0.1:62984] (derby.DerbyMessageStore)
- Message metadata not found for message id 1
> {noformat}
> There is no issue here that requires the user to be warned,  The message should be downgraded
to INFO (like BDB) or maybe DEBUG.
> BDB uses
> {code:java}
> getLogger().info("Message not found (attempt to remove failed - probably application
initiated rollback) "  +  messageId);
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message