Bug #36296 | Falcon: commitNoUpdates is sleeping too often | ||
---|---|---|---|
Submitted: | 23 Apr 2008 16:56 | Modified: | 8 Jan 2009 10:17 |
Reporter: | Kevin Lewis | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S3 (Non-critical) |
Version: | 6.0.4 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[23 Apr 2008 16:56]
Kevin Lewis
[23 Apr 2008 17:18]
Kevin Lewis
The affect of this bug is only performance. Thus the low Triage values. However, Bug#34602 is more critical and is a result of this sleep occurring 10 times in a row. Clearly, this non-deterministic way of handling this race condition is not the best. The fix for this bug will probably also fix Bug#34602.
[23 Apr 2008 17:31]
Vladislav Vaintroub
Given Intel has seen contention, the probability of race is not tiny. And spinning does not seem proper implemented here - without locks or atomic operations
[24 Apr 2008 4:46]
Kevin Lewis
Changing to Priority 4. >Jim Starkey writes; >This isn't a bug. There shouldn't be an open bug against it. >It's a hard problem. The code works. There are mixes where >it isn't optimal, but there hasn't been a demonstration >that any real-life transaction mix makes this a major >problem or even a minor problem. > >I'm going to spend a couple of days rethinking the problem, >but there isn't an guarantee or existence proof of a better >solution. I hope to find one, but it's only hope. > >Please put this idiocy in perspective. It isn't a bug. This 'bug' is really an opportunity to improve performance. But I would argue that the related Bug#34602 is more important since it is a crash. If there is no way to make this deterministic without an overall performance cost, then we should close this, and reduce the chance of Bug#34602 occuring by increasing the loop count. But I don't like that solution.
[25 Apr 2008 14:32]
Ann Harrison
See bug 34602
[29 Aug 2008 2:02]
Kevin Lewis
This fix is in version 6.0.6 The for loop in Transaction commitnoUpdates was eliminated.
[8 Jan 2009 10:17]
MC Brown
Internal change only. No documentation needed.