[SERVER-47772] Do not use InlineCountingExecutor in multi-threaded tests Created: 24/Apr/20 Updated: 24/Apr/20 Resolved: 24/Apr/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Concurrency |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Service arch 2020-05-04 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
The OneSharedFuture test makes an InlineCountingExecutor and passes it by reference to multiple threads who make concurrent calls into it. InlineCountingExecutor, however, does no internal synchronization and is not safe to access concurrently from multiple threads. |