cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4752) Drop keyspace causes schema disagreement
Date Wed, 03 Oct 2012 15:32:07 GMT


Jonathan Ellis updated CASSANDRA-4752:

    Reviewer: jbellis
> Drop keyspace causes schema disagreement 
> -----------------------------------------
>                 Key: CASSANDRA-4752
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.6
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>         Attachments: 0001-CASSANDRA-4752.txt, 4752-v2.txt
> The fix for CASSANDRA-4698 introduced a bug whereby when drop keyspace is issued a schema
disagreement immediately occurs. This seems to be because the 
> {code}ColumnFamily cf = ColumnFamily.create(modification.getValue().metadata());{code}
> in {{RowMutation.deserializeFixingTimestamps}} does not preserve deletion info for the
cf in the modification. In most cases, this doesn't cause a problem, but for a drop keyspace
modification, there are no columns in the cf, so the deletion info is effectively lost leading
to an incorrect digest being created and ultimately a schema disagreement.
> Replacing the {{create}} with {{cloneMeShallow}} does preserve the deletion info and
avoids the schema disagreement issue.

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

View raw message