Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-756

Table.open should not propagate IOException

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • None

    Description

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rodrigoap Rodrigo Peinado Assign to me
            jbellis Jonathan Ellis
            Rodrigo Peinado
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment