PXC 5.5.30-23.7.4.404 not able the use a different shared memory allocator library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL patches by Codership |
Fix Released
|
Medium
|
Alex Yurchenko | ||
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Raghavendra D Prabhu |
Bug Description
With the latest version of PXC, it's not possible to define a malloc-lib and start the server using init script or mysqld_safe.
To define the malloc-lib in my.cnf:
[mysqld_safe]
malloc-
Then when you start using init script, this is the only message you get in error log:
30418 07:13:08 mysqld_safe Starting mysqld daemon with databases from /data/mysql
130418 07:13:08 mysqld_safe WSREP: Running position recovery with --log_error=
130418 07:13:08 mysqld_safe WSREP: Failed to recover position:
When you start it manually with mysld_safe:
130418 07:22:50 mysqld_safe Adding '/usr/lib64/
130418 07:22:50 mysqld_safe Logging to '/data/
130418 07:22:50 mysqld_safe Starting mysqld daemon with databases from /data/mysql
130418 07:22:50 mysqld_safe WSREP: Running position recovery with --log_error=
/usr/bin/
130418 07:22:50 mysqld_safe WSREP: Failed to recover position:
The command launched is : LD_PRELOAD=
How to fix ?
on line 224 of /usr/bin/
$mysqld_cmd --log_error=
by:
eval $mysqld_cmd --log_error=
summary: |
- PXC 5.5.30-23.7.4.404 not able the use a different share memory - allocatot library + PXC 5.5.30-23.7.4.404 not able the use a different shared memory + allocator library |
Changed in percona-xtradb-cluster: | |
status: | New → Confirmed |
assignee: | nobody → Raghavendra D Prabhu (raghavendra-prabhu) |
Changed in codership-mysql: | |
assignee: | nobody → Alex Yurchenko (ayurchen) |
importance: | Undecided → Medium |
milestone: | none → 5.5.30-24.8 |
status: | New → Confirmed |
Changed in percona-xtradb-cluster: | |
status: | Confirmed → Fix Committed |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-23.7.4-2 |
Changed in codership-mysql: | |
milestone: | 5.5.30-24.8 → 5.5.31-23.7.4 |
Changed in codership-mysql: | |
status: | Fix Committed → Fix Released |
Yes, the wsrep_recovery needs eval_log_error:
diff -u =mysqld_safe /tmp/mysqld_safe mysqld_ safe 2013-04-18 18:48:27.595069642 +0530
--- /usr/bin/
+++ /tmp/mysqld_safe 2013-04-18 18:45:55.539099781 +0530
@@ -221,7 +221,7 @@
log_notice "WSREP: Running position recovery with --log_error= $wr_logfile"
- $mysqld_cmd --log_error= $wr_logfile --wsrep-recover $wr_logfile --wsrep-recover"
+ eval_log_error "$mysqld_cmd --log_error=
local rp="$(grep 'WSREP: Recovered position:' $wr_logfile)"
if [ -z "$rp" ]; then