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] [Updated] (CASSANDRA-3161) clean up read path
Date Thu, 08 Sep 2011 17:10:08 GMT

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

Jonathan Ellis updated CASSANDRA-3161:
--------------------------------------

    Attachment: 3161.txt

- updates comments in RowDigestResolver and RowRepairResolver
- removes unnecessary versions + endpoints lists from RRR
- moves fetchrows "helper" collections into the do/while loop, where possible (this is fine
from a performance perspective since the overwhelmingly most frequent case is we only execute
the loop body once); also renames commands->initialCommands and commandsToSend->commands,
pre-sizes "rows" list to avoid re-allocating it, and sizes readCallbacks as well.

> clean up read path
> ------------------
>
>                 Key: CASSANDRA-3161
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3161
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 1.0
>
>         Attachments: 3161.txt
>
>
> As CASSANDRA-3156, CASSANDRA-3158, CASSANDRA-3157 show, the read path has gotten a little
crufty, especially with the introduction of short read protection.  Time for some cleanup
to reduce the chance of bugs and to make troubleshooting easier when we do have one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message