scylladb / scylla-bench

42 stars 34 forks source link

fix: create 'scylla_bench' keyspace before it's usage #101

Closed vponomaryov closed 2 years ago

vponomaryov commented 2 years ago

In the PR [1] that was merged recently we started using keyspace in the config object, but the code with it's creation gets run after it's usage.

So, create the keyspace before it's usage to avoid failures on clusters which do not have when 'scylla-bench' gets used.

[1] https://github.com/scylladb/scylla-bench/pull/97