cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Peinado (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-756) Table.open should not propagate IOException
Date Wed, 17 Mar 2010 00:51:27 GMT

     [ 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

> 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.


Mime
View raw message