[SERVER-12555] OpDebug::planSummary std::string may be accessed concurrently by multiple threads Created: 30/Jan/14 Updated: 10/Dec/14 Resolved: 14/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andy Schwerin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
In c51857a44af6fc69f1e21bb9c6b2b6adda0ef80e, OpDebug::planSummary was added. This is a std::string, but it may be concurrently read and written from different threads which is definitely illegal. One possible example is being read by ::inProgCmd via CurOp::info, while being written to by ::newRunQuery. |
| Comments |
| Comment by Andy Schwerin [ 14/Feb/14 ] |
|
Fixed in |
| Comment by J Rassi [ 30/Jan/14 ] |
|
Very similar issue to |