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

Rodrigo Peinado updated CASSANDRA-756:
--------------------------------------

    Attachment: CASSANDRA-756-1.patch

Removed IOException from CFS.getColumnFamily and related methods.

> Table.open should not propagate IOException
> -------------------------------------------
>
>                 Key: CASSANDRA-756
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-756
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Rodrigo Peinado
>            Priority: Trivial
>             Fix For: 0.7
>
>         Attachments: CASSANDRA-756-1.patch, CASSANDRA-756.patch
>
>
> Unrecoverable errors should not be checked exceptions; in the case of 
> IOException, it has an analogue, IOError, specifically designed to be 
> re-thrown for unrecoverable problems.  Table.open falls into this category.
> We should re-throw as IOError from Table.open and r/m the IOException 
> propagation that affects a ton of code.
> (This is not the only such place we need to change but it is probably the 
> most prominent.)

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

Reply via email to