1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Configurable data payload size for dbsim.

This commit is contained in:
Teemu Ollakka
2020-06-26 13:41:30 +03:00
parent 94f5696010
commit 593f737605
4 changed files with 24 additions and 7 deletions

View File

@ -31,6 +31,8 @@ namespace db
size_t n_clients;
size_t n_transactions;
size_t n_rows;
size_t max_data_size; // Maximum size of write set data payload.
bool random_data_size; // If true, randomize data payload size.
size_t alg_freq;
bool sync_wait;
std::string topology;
@ -45,6 +47,8 @@ namespace db
, n_clients(0)
, n_transactions(0)
, n_rows(1000)
, max_data_size(8)
, random_data_size(false)
, alg_freq(0)
, sync_wait(false)
, topology()