You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2010/01/19 22:01:54 UTC

[jira] Commented: (CASSANDRA-717) register AES verbs at SS start

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

Stu Hood commented on CASSANDRA-717:
------------------------------------

+1... it's an improvement, although if we can find a good excuse to give the components of SS (AES, Gossiper, Streaming) an abstract base class and lifecycle, that would probably be ideal.

> register AES verbs at SS start
> ------------------------------
>
>                 Key: CASSANDRA-717
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-717
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 0001-mv-tree-and-gossip-verb-registration-into-StorageServi.txt, 0002-convert-verbs-to-enums.txt
>
>
> the reason we do all registration in one place is it prevents bugs like this one
> ERROR - Error in ThreadPoolExecutor
> java.lang.AssertionError: unknown verb TREE-RESPONSE-VERB
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:37)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)
> ERROR - Fatal exception in thread Thread[AE-SERVICE-STAGE:1,5,main]
> java.lang.AssertionError: unknown verb TREE-RESPONSE-VERB
>         at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:37)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:636)

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