You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - TEXT: Text to look for in MODEs 1,2,3,5,6,7,8. Ignored in MODEs 4 and 9.
63
63
# Can contain egrep+regex syntax like "^ERROR|some_other_string". Remember this is regex: specify | as \| etc.
64
64
# For MODE5, you would use a mysql CLI to get the desired output "string" (see example given above) and then set MODE5_COUNTTEXT
65
-
# - PQUERY_MOD: 1: use pquery, 0: use mysql CLI. Causes reducer.sh to use pquery instead of the mysql client for replays (default=0). Supported for MODE=1,3,4
66
-
# - PQUERY_LOC: Location of the pquery binary
65
+
# - PSTRESS_MODE: 1: use pstress, 0: use mysql CLI. Causes reducer.sh to use pstress instead of the mysql client for replays (default=0). Supported for MODE=1,3,4
66
+
# - PSTRESS_LOC: Location of the pstress binary
67
67
# - PXC_DOCKER_FIG_MOD: 1: use Fig + Docker to bring up 3 node Percona XtraDB Cluster instead of default server, 0: use default non-cluster server (mysqld)
68
-
# see lp:/percona-qa/pxc-pquery/new/pxc-pquery_info.txt and lp:/percona-qa/docker_info.txt for more information on this. See above for some limitations etc.
69
-
# IMPORTANT NOTE: If this is set to 1, ftm, these settings (and limitations) are automatically set: INHERENT: PQUERY_MOD=1, LIMTATIONS: FORCE_SPORADIC=0,
68
+
# see lp:/percona-qa/pxc-query/new/pxc-pquery_info.txt and lp:/percona-qa/docker_info.txt for more information on this. See above for some limitations etc.
69
+
# IMPORTANT NOTE: If this is set to 1, ftm, these settings (and limitations) are automatically set: INHERENT: PSTRESS_MOD=1, LIMTATIONS: FORCE_SPORADIC=0,
# - PXC_ISSUE_NODE: This indicates which node you would like to be checked for presence of the issue. 0 = Any node. Valid options: 0, 1, 2, or 3. Only works
72
72
# for MODE=4 currently.
@@ -372,7 +372,7 @@ options_check(){
372
372
SPORADIC=0
373
373
FORCE_SKIPV=0
374
374
SKIPV=1
375
-
PQUERY_MOD=1
375
+
PSTRESS_MOD=1
376
376
MYEXTRA=""
377
377
if [ !-r$PXC_DOCKER_FIG_LOC ];then
378
378
echo"Error: PXC_DOCKER_FIG_MOD is set to 1, but the Fig file (as defined by PXC_DOCKER_FIG_LOC; currently set to '$PXC_DOCKER_FIG_LOC') is not available."
@@ -381,7 +381,7 @@ options_check(){
381
381
fi
382
382
if [ $MODE-eq 1 -o$MODE-eq 6 ];then
383
383
echo"Error: Valgrind for 3 node PXC replay has not been implemented yet. Please do so! Free cookies afterwards!"
384
-
echo"Starting tip: this would involve creating a new lp:percona-qa/pxc-pquery/ Fig+Docker setup that has Valgrind build in"
384
+
echo"Starting tip: this would involve creating a new lp:percona-qa/pxc-pstress/ Fig+Docker setup that has Valgrind build in"
385
385
exit 1
386
386
fi
387
387
if [ $MODE-ge 6 -a$MODE-le 9 ];then
@@ -404,10 +404,10 @@ options_check(){
404
404
fi
405
405
fi
406
406
fi
407
-
if [ $PQUERY_MOD-eq 1 ];then
408
-
if [ !-r$PQUERY_LOC ];then
409
-
echo"Error: PQUERY_MOD is set to 1, but the pquery binary (as defined by PQUERY_LOC; currently set to '$PQUERY_LOC') is not available."
410
-
echo'Please check script contents/options ($PQUERY_MOD and $PQUERY_LOC variables)'
407
+
if [ $PSTRESS_MOD-eq 1 ];then
408
+
if [ !-r$PSTRESS_LOC ];then
409
+
echo"Error: PSTRESS_MOD is set to 1, but the pstress binary (as defined by PSTRESS_LOC; currently set to '$PSTRESS_LOC') is not available."
410
+
echo'Please check script contents/options ($PSTRESS_MOD and $PSTRESS_LOC variables)'
411
411
exit 1
412
412
fi
413
413
fi
@@ -902,7 +902,7 @@ init_mysql_dir(){
902
902
if [ $PXC_DOCKER_FIG_MOD-eq 1 ];then
903
903
sudo rm -Rf $WORKD/data/*
904
904
cp $PXC_DOCKER_FIG_LOC$WORKD
905
-
sed -i "s|/dev/shm/pxc-pquery|$WORKD/data/|"$WORKD/fig.yml
905
+
sed -i "s|/dev/shm/pxc-pstress|$WORKD/data/|"$WORKD/fig.yml
906
906
else
907
907
rm -Rf $WORKD/data/*
908
908
if [ "$MULTI_REDUCER"!="1" ];then# This is a parent/main reducer
0 commit comments