Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent failures in transaction when no PROCESS privilege #4

Closed
simonwistow opened this issue May 12, 2011 · 1 comment
Closed

Silent failures in transaction when no PROCESS privilege #4

simonwistow opened this issue May 12, 2011 · 1 comment

Comments

@simonwistow
Copy link

We recently found that we were dropping parts of transactions on the floor. The symptom was this error message

Deadlock detected on retry 1, restarting transaction
Cannot log innodb status: Mysql::Error: Access denied; you need the PROCESS privilege for this operation: show innodb status

Whilst the error is rescued it would still mess up the transaction and, more importantly, would do so silently.

We fixed it by introducing a config option which controlled whether log_innodb_status was called or not (it's off by default) - a better solution may be to check for privileges somehow but it looks like that's not trivial and may introduce performance problems.

@mperham
Copy link
Owner

mperham commented May 13, 2011

Fixed by GH-5.

@mperham mperham closed this as completed May 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants