[SERVER-37313] FTDC collection blocked during foreground index build on secondary Created: 25/Sep/18 Updated: 29/Oct/23 Resolved: 23/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Storage |
| Affects Version/s: | 3.6.8, 4.0.2 |
| Fix Version/s: | 3.6.9, 4.0.5, 4.1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Xiangyu Yao (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SWDI | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||||||||||||||||||||||||||
| Sprint: | Storage NYC 2018-10-22, Storage NYC 2018-11-05 | ||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||
| Linked BF Score: | 56 | ||||||||||||||||||||||||||||||||
| Description |
|
Repro: create a collection, do a foreground index build. (Issue does not affect background index builds.) When it finishes on the primary and is replicated to secondaries, FTDC data collection will be blocked for the duration of the index build on the secondary. This is a regression in 3.6. and 4.0. This is problematic because index builds can stress system resources and so FTDC may be particularly important for diagnosing problems during index builds. We implemented Stack traces show we are stalled acquiring a global lock in WiredTigerServerStatusSection::generateSection. Looks like this is a MODE_IS global lock, so I'm not sure what it's conflicting with. 3.6.8:
4.0.2:
|
| Comments |
| Comment by Githook User [ 10/Nov/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: (cherry picked from commit 167861a164723168adfaaa866f310cb94010428f) |
| Comment by Githook User [ 05/Nov/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: |
| Comment by Githook User [ 25/Oct/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: Revert " This reverts commit 3aebbb51ed5fe82601f601916251c5f892a59467. |
| Comment by Githook User [ 25/Oct/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: (cherry picked from commit e7bed9bdcb376d5a06dce6228047309e8481f9cf) |
| Comment by Githook User [ 23/Oct/18 ] |
|
Author: {'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}Message: |