mysql might still be up even though the mysqladmin ping returns otherwise
Bug #1197161 reported by
Nikhil Manchanda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Medium
|
Nikhil Manchanda |
Bug Description
mysqladmin ping returns whether it is able to connect to mysql. However, for a short window, while mysql is shutting down, it stops accepting network connections and is still cleaning up innodb pages. (The mysqld process is still alive)
Trying to start mysql during this window fails with:
"mysqld_safe A mysqld process already exists"
Suggested fix is to use pgrep instead of mysqladmin ping to see if the mysqld process is still running, before trying to start mysql.
Changed in trove: | |
milestone: | none → havana-2 |
Changed in trove: | |
importance: | Undecided → Medium |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | havana-2 → 2013.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/35392
Review: https:/