cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6146) CQL-native stress
Date Fri, 25 Oct 2013 21:20:31 GMT

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

Benedict commented on CASSANDRA-6146:
-------------------------------------

Hi [~mishail],

You might want to take a look at my patch for [6199|https://issues.apache.org/jira/browse/CASSANDRA-6199],
and make your changes there. Adding support for custom CQL operations like this should be
as easy as copying the CqlReader class and, mostly, deleting a few unnecessary lines. The
options parser may need a few minutes to figure out how to add another command. Take a look
in Command, SettingsCommand and StressSettings.

The interesting bit will be inserts - automatic detection of table structure and selection
of sensible generators for those columns should be fun, and a great feature. A couple of new
data generators may be needed, but should be pretty easy.

If you want to get really exciting, support for interleaving multiple statements shouldn't
be too difficult, as it's currently supported for other operations in mixed mode - this would
require a little bit of rejigging, but probably not too much.

> CQL-native stress
> -----------------
>
>                 Key: CASSANDRA-6146
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6146
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jonathan Ellis
>
> The existing CQL "support" in stress is not worth discussing.  We need to start over,
and we might as well kill two birds with one stone and move to the native protocol while we're
at it.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message