You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (Created) (JIRA)" <ji...@apache.org> on 2011/11/03 04:11:32 UTC
[jira] [Created] (CASSANDRA-3449) Missing null check in digest
retry part of read path
Missing null check in digest retry part of read path
----------------------------------------------------
Key: CASSANDRA-3449
URL: https://issues.apache.org/jira/browse/CASSANDRA-3449
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.0.0
Reporter: Jonathan Ellis
Assignee: Jonathan Ellis
Fix For: 1.0.2
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3449) Missing null check in digest
retry part of read path
Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143293#comment-13143293 ]
Sylvain Lebresne commented on CASSANDRA-3449:
---------------------------------------------
I think it is possible for the row to be null but still being in a short read situation. Like if you resolve 2 nodes whose responses look like:
{noformat}
node1: 1 del 3
node2: del 2 del
{noformat}
and you've asked for two columns. The merging results in a null row (assuming all del have priority), but it's possible that node1 had a lot of perfectly good value after that 3, so we should retry.
I believe the right fix could be to just have a {{if (row != null)}} before the rows.add(row) ?
> Missing null check in digest retry part of read path
> ----------------------------------------------------
>
> Key: CASSANDRA-3449
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3449
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Fix For: 1.0.2
>
> Attachments: 3449.txt
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3449) Missing null check in digest
retry part of read path
Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3449:
--------------------------------------
Attachment: 3449.txt
> Missing null check in digest retry part of read path
> ----------------------------------------------------
>
> Key: CASSANDRA-3449
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3449
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Fix For: 1.0.2
>
> Attachments: 3449.txt
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira