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

Marcus Eriksson commented on CASSANDRA-16309:
---------------------------------------------

patch: https://github.com/krummas/cassandra/commits/marcuse/tablecountwarnings
cci: 
https://app.circleci.com/pipelines/github/krummas/cassandra?branch=marcuse%2Ftablecountwarnings

{code}
cqlsh> create keyspace x with replication = {'class': 'SimpleStrategy', 
'replication_factor': 1};

Warnings :
Cluster already contains 45 keyspaces. Having a large number of keyspaces will 
significantly slow down schema dependent cluster operations.

cqlsh> create table x.y (id int primary key, x int);

Warnings :
Cluster already contains 200 tables in 45 keyspaces. Having a large number of 
tables will significantly slow down schema dependent cluster operations.

{code}

> Send back client warnings when creating a new keyspace/table and the existing 
> keyspace/table count is already above a configurable threshold
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16309
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16309
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Cluster/Schema
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-beta4
>
>
> We should warn clients when there are dangerously many keyspaces/tables in 
> the cluster



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to