1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-3606 Make ColumnStore use generic paths

ColumnStore now uses standard bin/lib paths for pretty much everything.
Data path is now hard-coded to /var/lib/columnstore.

This patch also:

* Removes v1 decompression
* Removes a bunch of unneeded files
* Removes COLUMNSTORE_INSTALL_DIR / $INSTALLDIR
* Makes my.cnf.d work for all platforms (MCOL-3558)
* Changes configcpp to use recursive mutex (fixes possible config write deadlock)
* Fixes MCOL-3599 Fix regr functions, The library was installed in the wrong location
* Fixes a bunch of Ubuntu packaging issues
* Changes the binary names of several of the executables so as not to
clash with potential executables from other packages
This commit is contained in:
Andrew Hutchings
2019-11-04 11:06:33 +00:00
parent dea1dec507
commit 8ab9ebb0f4
178 changed files with 1310 additions and 18366 deletions

View File

@ -0,0 +1,70 @@
#!/bin/bash
#
# $Id$
#
usage="usage: run.sh [-vh] [-s sleep] [-t tries] [-l logDir] executable"
vflg=0
sopt="5"
topt="0"
lopt="/tmp/columnstore_tmp_files"
while getopts "vs:t:l:h" flag; do
case $flag in
v) vflg=1
;;
s) sopt=$OPTARG
;;
t) topt=$OPTARG
;;
l) lopt=$OPTARG
;;
h) echo $usage
exit 0
;;
\? | *) echo $usage 1>&2
exit 1
;;
esac
done
shift $((OPTIND-1))
exename="$@"
if [ -z "$exename" ]; then
echo $usage 1>&2
exit 1
fi
shift
args="$@"
retries=1
keep_going=1
if [ $vflg -gt 0 ]; then
echo "starting $exename $args with sleep=$sopt and tries=$topt"
fi
while [ $keep_going -ne 0 ]; do
$exename $args
if [ -e ${lopt}/StopColumnstore ]; then
exit 0
fi
if [ $topt -gt 0 -a $retries -ge $topt ]; then
keep_going=0
fi
((retries++))
if [ $keep_going -ne 0 -a $sopt -gt 0 ]; then
sleep $sopt
fi
done
if [ $vflg -gt 0 ]; then
echo "$exename exceeded its try count, quiting!" 1>&2
fi
exit 1