cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Commented) (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-3697) 'nodetool -h localhost repair' fails when there is an empty ks
Date Wed, 04 Jan 2012 21:27:39 GMT


Jonathan Ellis commented on CASSANDRA-3697:

This changes the semantics throw when there *are* CFs existing.

But that aside, I'm not sure why switching from AssertionError to RuntimeException improves
> 'nodetool -h localhost repair' fails when there is an empty ks
> --------------------------------------------------------------
>                 Key: CASSANDRA-3697
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.0.6
>            Reporter: Joaquin Casares
>            Priority: Minor
>         Attachments: 3697.diff
> If there is an empty KS, the assertion error thrown kills the entire repair, when a keyspace
is not specified.
> To replicate:
> Start a new cluster
> nodetool -h localhost repair
> Create a new keyspace with no column families
> nodetool -h localhost repair
> Assertion error is thrown to the prompt

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message