Forgot to add version info. This is on 3.7.

[cqlsh 5.0.1 | Cassandra 3.7 | CQL spec 3.4.2 | Native protocol v4]


Thanks,

Dipan Shah

________________________________
From: Dipan Shah <dipan....@hotmail.com>
Sent: Thursday, February 28, 2019 3:38 PM
To: user@cassandra.apache.org
Subject: MV's stuck in build state

Hello All,

I have a few MV's that are stuck in build state because of a bad schema design 
and thus getting a lot of messages like this "Mutation xxx is too large for 
maximum size of 16.000MiB".

[cid:cde7867a-aa71-4046-97f8-7a16b1a4f3c9]

I have dropped those MV's and I can no longer see their schema in the keyspace. 
But they are visible under "system.views_build_in_progress" and "nodetool 
viewbuildstatus".

I have tried "nodetool stop VIEW_BUILD" as suggested here: 
https://stackoverflow.com/questions/40553499/stop-cassandra-materialized-view-build
 and have also reboot a few nodes in the cluster. This has also not helped.

Is there anything else that can be done over here?
[https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-i...@2.png?v=73d79a89bded]<https://stackoverflow.com/questions/40553499/stop-cassandra-materialized-view-build>

Stop Cassandra Materialized View Build - Stack 
Overflow<https://stackoverflow.com/questions/40553499/stop-cassandra-materialized-view-build>
Its not documented, but nodetool stop actually takes any compaction type, not 
just the ones listed (which the view build is one of). So you can simply: 
nodetool stop VIEW_BUILD Or you can hit JMX directly with the 
org.apache.cassandra.db:type=CompactionManager mbean's stopCompaction 
operation.. All thats really gonna do is set a flag for the view builder to 
stop on its next loop.
stackoverflow.com




Thanks,

Dipan Shah

Reply via email to