Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to version 4.x of the Cassandra driver #127

Open
jsanda opened this issue Mar 23, 2020 · 1 comment
Open

Upgrade to version 4.x of the Cassandra driver #127

jsanda opened this issue Mar 23, 2020 · 1 comment

Comments

@jsanda
Copy link
Contributor

jsanda commented Mar 23, 2020

tlp-stress depends on version 3.6.0 of the Java driver. There are some significant changes with the driver that break its backwards compatibility with versions < 4.0. With respect to tlp-stress it would be an implementation change only and really needs to be done at some point before the older version of the driver becomes technical debt.

@yakirgb
Copy link

yakirgb commented Nov 29, 2020

Looks that tlp-stress not working on Cassandra 4,

[root@tab tlp-stress]# nodetool version
ReleaseVersion: 4.0-beta3
[root@tab tlp-stress]# ./bin/tlp-stress run BasicTimeSeries -i 1B
Creating tlp_stress:
CREATE KEYSPACE
 IF NOT EXISTS tlp_stress
 WITH replication = {'class': 'SimpleStrategy', 'replication_factor':3 }

Creating schema
Executing 1000000000 operations with consistency level LOCAL_ONE
Connected
Creating Tables
CREATE TABLE IF NOT EXISTS sensor_data (
                            sensor_id text,
                            timestamp timeuuid,
                            data text,
                            primary key(sensor_id, timestamp))
                            WITH CLUSTERING ORDER BY (timestamp DESC) AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'} AND default_time_to_live = 0
Preparing queries
Using a limit of 500 for reads and deleting data older than 30 seconds (if enabled).
Initializing metrics
Connecting
Creating generator random
1 threads prepared.
Starting main runner
                 Writes                                  Reads                                  Deletes                       Errors
  Count  Latency (p99)  1min (req/s) |   Count  Latency (p99)  1min (req/s) |   Count  Latency (p99)  1min (req/s) |   Count  1min (errors/s)
      0              0             0 |       0              0             0 |       0              0             0 |       0                0
Stress complete, 1.

The table created but without any read/writes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants