cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-109) Missing null check for READ-REPAIR header
Date Sat, 25 Apr 2009 19:15:30 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702757#action_12702757
] 

Jonathan Ellis commented on CASSANDRA-109:
------------------------------------------

committed, w/ minor variation to avoid deserializing unnecessarily

> Missing null check for READ-REPAIR header
> -----------------------------------------
>
>                 Key: CASSANDRA-109
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-109
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: Per Mellqvist
>            Assignee: Per Mellqvist
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: null_check.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The READ-REPAIR header is assumed to always be present which is no longer the case. This
leads to a non-critical  NullPointerException in ReadVerbHandler:109 
> String repair = new String( message.getHeader(ReadCommand.DO_REPAIR) );
> A null check is needed.

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


Mime
View raw message