[SERVER-41874] Never kill cursors in shell garbage collection in concurrency_simultaneous_replication Created: 21/Jun/19 Updated: 29/Oct/23 Resolved: 30/Jul/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Shell |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Siyuan Zhou |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.2
|
||||||||
| Sprint: | Repl 2019-07-01, Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 14 | ||||||||
| Description |
|
We need to expose a knob to disable the killCursor behavior in concurrency test suites because killCursor can be triggered by garbage collection at any time, which may be blocked by strong global locks that are waiting behind running transactions. Those running transaction may be running in the same thread as the garbage collection, e.g. in the shell, so none of them can make progress. When the transaction times out, the problem will go away, but since we increased the timeout in concurrency_simultaneous_replication to very large, the test will hang. |
| Comments |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou'}Message: (cherry picked from commit 5b323c73844702101055667bc0e222a183fde8c2) |
| Comment by Githook User [ 23/Aug/19 ] |
|
Author: {'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com', 'name': 'Siyuan Zhou'}Message: (cherry picked from commit 7285a28d08db1d23947b8f128dbc898bb4e8348c) |
| Comment by Githook User [ 30/Jul/19 ] |
|
Author: {'name': 'Siyuan Zhou', 'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com'}Message: |
| Comment by Githook User [ 30/Jul/19 ] |
|
Author: {'name': 'Siyuan Zhou', 'username': 'visualzhou', 'email': 'siyuan.zhou@mongodb.com'}Message: |