Closed muzarski closed 1 year ago
As mentioned in https://github.com/scylladb/cql-stress/issues/54, we should let the user configure the number of connections per shard.
This PR extends both s-b and c-s CLI by option which configures shard connection count.
ScyllaBenchArgs
shard_connection_count
connections
NodeOption
v2: renamed s-b shard-connection-count CLI argument to connection-count, so the test passes
shard-connection-count
connection-count
v3: fixed review comments
Motivation
As mentioned in https://github.com/scylladb/cql-stress/issues/54, we should let the user configure the number of connections per shard.
This PR extends both s-b and c-s CLI by option which configures shard connection count.
Changes
ScyllaBenchArgs
byshard_connection_count
field. Removed TODO comments and unused variables regardingconnections
option.NodeOption
byshard_connection_count
field.