cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10383) Disable auto snapshot on selected tables.
Date Tue, 17 Nov 2015 15:23:11 GMT


Robert Stupp commented on CASSANDRA-10383:

Although the patch looks good, we have to delay it until 4.0.
Reason for that is that schema tables must stay unchanged within all 3.x versions - otherwise
the node that does not know about the new column will fail do deserialize mutations. What
we would need is a messaging-version bump, which will not happen before 4.0.
There will be a new schema-change protocol without these limitations - but that would require
a messaging-version bump, too.

java.lang.RuntimeException: Unknown column allow_auto_snapshot during deserialization
	at org.apache.cassandra.db.Columns$Serializer.deserialize( ~[main/:na]
	at org.apache.cassandra.db.SerializationHeader$Serializer.deserializeForMessaging(
	at org.apache.cassandra.db.rows.UnfilteredRowIteratorSerializer.deserializeHeader(
	at org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.deserialize30(
	at org.apache.cassandra.db.partitions.PartitionUpdate$PartitionUpdateSerializer.deserialize(
	at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize( ~[main/:na]
	at org.apache.cassandra.db.Mutation$MutationSerializer.deserialize( ~[main/:na]
	at org.apache.cassandra.service.MigrationManager$MigrationsSerializer.deserialize(
	at org.apache.cassandra.service.MigrationManager$MigrationsSerializer.deserialize(
	at ~[main/:na]

> Disable auto snapshot on selected tables.
> -----------------------------------------
>                 Key: CASSANDRA-10383
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Tommy Stendahl
>            Assignee: Tommy Stendahl
>              Labels: doc-impacting
>         Attachments: 10383.txt
> I have a use case where I would like to turn off auto snapshot for selected tables, I
don't want to turn it off completely since its a good feature. Looking at the code I think
it would be relatively easy to fix.
> My plan is to create a new table property named something like "disable_auto_snapshot".
If set to false it will prevent auto snapshot on the table, if set to true auto snapshot will
be controlled by the "auto_snapshot" property in the cassandra.yaml. Default would be true.

This message was sent by Atlassian JIRA

View raw message