Compare commits

...

2 Commits

Author SHA1 Message Date
Carlos Salguero
aad0d6ea78 Updated Tests 2021-09-14 11:00:17 -03:00
Carlos Salguero
57e414b71f PT-1627 Changed jemalloc detection function 2021-09-14 10:56:16 -03:00
3 changed files with 8 additions and 20 deletions

View File

@@ -2280,12 +2280,14 @@ report_jemalloc_enabled() {
done done
if [ $GENERAL_JEMALLOC_STATUS -eq 1 ]; then if [ $GENERAL_JEMALLOC_STATUS -eq 1 ]; then
JEMALLOC_LOCATION=$(find /usr/lib64/ /usr/lib/x86_64-linux-gnu /usr/lib -name "libjemalloc.*" 2>/dev/null | head -n 1) for pid in $(pidof mysqld); do
if [ -z "$JEMALLOC_LOCATION" ]; then JEMALLOC_LOCATION=$(strings /proc/${pid}/environ | grep jemalloc)
echo "Jemalloc library not found" if [ -z "$JEMALLOC_LOCATION" ]; then
else echo "Jemalloc library for process ${pid} not found"
echo "Using jemalloc from $JEMALLOC_LOCATION" else
fi echo "Process with PID ${pid} is using jemalloc from $JEMALLOC_LOCATION"
fi
done
fi fi
} }

View File

@@ -201,19 +201,6 @@ wsrep_cluster_size 100
HandlerSocket NoSQL | Not Supported HandlerSocket NoSQL | Not Supported
Fast Hash UDFs | Unknown Fast Hash UDFs | Unknown
# Percona XtraDB Cluster ##################################### # Percona XtraDB Cluster #####################################
Cluster Name | pt_sandbox_cluster
Cluster Address | gcomm://
Cluster Size | 3
Cluster Nodes | 192.168.0.100,192.168.0.100,192.168.0.100
Node Name | 12345
Node Status | Primary
SST Method | rsync
Slave Threads | 2
Ignore Split Brain | false
Ignore Quorum | false
gcache Size | 128M
gcache Directory | /tmp/12345/data/
gcache Name | /tmp/12345/data//galera.cache
# Plugins #################################################### # Plugins ####################################################
InnoDB compression | ACTIVE InnoDB compression | ACTIVE
# Query cache ################################################ # Query cache ################################################

View File

@@ -167,7 +167,6 @@ wsrep_local_index 4000000000000 45000000
HandlerSocket NoSQL | Not Supported HandlerSocket NoSQL | Not Supported
Fast Hash UDFs | Unknown Fast Hash UDFs | Unknown
# Percona XtraDB Cluster ##################################### # Percona XtraDB Cluster #####################################
wsrep_on | OFF
# Plugins #################################################### # Plugins ####################################################
InnoDB compression | ACTIVE InnoDB compression | ACTIVE
# Query cache ################################################ # Query cache ################################################