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 (JIRA)" <ji...@apache.org> on 2009/11/13 22:10:40 UTC

[jira] Commented: (CASSANDRA-548) Make sure application states are delivered in correct order

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

Jonathan Ellis commented on CASSANDRA-548:
------------------------------------------

looks good overall; some improvements:

implement Comparable<AppState>, to avoid having to cast so much

sorting with ArrayList and Collections.sort is going to be much faster than TreeSet and LinkedList

prefer inlining used-only-once variables like List<String> stateNames

> Make sure application states are delivered in correct order
> -----------------------------------------------------------
>
>                 Key: CASSANDRA-548
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-548
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.5
>            Reporter: Jaakko Laine
>             Fix For: 0.5
>
>         Attachments: 548-deliver-ap-states-in-correct-order.patch
>
>
> Application states must be delivered to subscribers in the same logical order they were added.

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