You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cameron Zemek (Jira)" <ji...@apache.org> on 2021/03/16 05:06:00 UTC

[jira] [Commented] (CASSANDRA-6822) Never ending batch replay after dropping column family

    [ https://issues.apache.org/jira/browse/CASSANDRA-6822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302222#comment-17302222 ] 

Cameron Zemek commented on CASSANDRA-6822:
------------------------------------------

I aslo had this issue in 3.11 after dropping a materialized view. My workaround was to create table with cfId of the view. Eg. 
{noformat}
CREATE TABLE myview (...) WITH ID=<cfId of view>{noformat}
This allowed the batches to process. Then also had to set batchlog_replay_throttle_in_kb to 0 to allow it to catch up since constantly have new batches coming in.

> Never ending batch replay after dropping column family
> ------------------------------------------------------
>
>                 Key: CASSANDRA-6822
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6822
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra 2.0.5
>            Reporter: Duncan Sands
>            Assignee: Aleksey Yeschenko
>            Priority: Normal
>             Fix For: 1.2.17, 2.0.7, 2.1 beta2
>
>         Attachments: 6822.txt
>
>
> After dropping a column family, I got an infinite number of messages like this:
> WARN [BatchlogTasks:1] 2014-03-07 17:50:08,962 BatchlogManager.java (line 235) Skipped batch replay of bc3916e0-a533-11e3-9c41-55f3810000b5 due to org.apache.cassandra.db.UnknownColumnFamilyException: Couldn't find cfId=2fdad07d-0cc3-373a-8aa0-15837cd9bc6c
> I say an infinite number but I only waited about 12 hours before I decided I had had enough and truncated system.batchlog.  So perhaps it would have gone away by itself.
> Presumably the batch replay is skipped but not discarded, so will keep on turning up forever.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org