* [Tarantool-patches] [PATCH] durability: direct tpcc_load usage, removed sed
@ 2020-11-25 14:59 Oleg Koshovetc
0 siblings, 0 replies; only message in thread
From: Oleg Koshovetc @ 2020-11-25 14:59 UTC (permalink / raw)
To: Alexander Tikhonov, Alexander Turenko; +Cc: tarantool-patches
https://github.com/tarantool/bench-run/compare/tpcc_durability
load.sh script that was used before has been wirtten in such a manner
that it was hard to detect any errors during it's execution (not to
mention the fact that tpcc_load does not exit on any error).
Unfortunately this patch depends on a newer version of tarantool/tpcc
that exits on repetable errors, uses correct schemas for the latest
tarantool version and uses correct API from the latest tarantool
versions.
---
benchs/tpcc/run.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/benchs/tpcc/run.sh b/benchs/tpcc/run.sh
index fca7939..c27e4dc 100755
--- a/benchs/tpcc/run.sh
+++ b/benchs/tpcc/run.sh
@@ -13,7 +13,6 @@ killall tarantool tpcc_load 2>/dev/null || true
sync && echo "sync passed" || echo "sync failed with error" $?
echo 3 > /proc/sys/vm/drop_caches
-sed 's#box.sql#box#g' -i /opt/tpcc/create_table.lua
$numaopts tarantool /opt/tpcc/create_table.lua &
sleep 5
@@ -23,7 +22,7 @@ sleep 5
tpcc_opts="-h localhost -P 3301 -d tarantool -u root -p '' -w 15"
cd /opt/tpcc
-. /opt/tpcc/load.sh tarantool 15
+/opt/tpcc/tpcc_load $tpcc_opts
$numaopts /opt/tpcc/tpcc_start $tpcc_opts -r10 -l${TIME} -i${TIME}
>tpcc_output.txt 2>/dev/null
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-25 15:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 14:59 [Tarantool-patches] [PATCH] durability: direct tpcc_load usage, removed sed Oleg Koshovetc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox