[SERVER-33875] Add more useful logging to IndexCatalogImpl::numIndexesReady Created: 14/Mar/18 Updated: 29/Oct/23 Resolved: 15/Mar/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.7 Desired |
| Fix Version/s: | 3.7.4 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Storage NYC 2018-03-26 | ||||
| Participants: | |||||
| Description |
|
We should add more logging when comparing the number of indexes reported by the index catalog entry and the collection catalog. This assertion can fail in debug builds when calling IndexCatalogImpl::numIndexesReady(), by collStats for example. This failure has been seen in debug builds and would be easier to diagnose the root cause if we had more useful index information. We should log both sets of indexes in debug builds when this condition is not met before exiting. |
| Comments |
| Comment by Githook User [ 14/Mar/18 ] |
|
Author: {'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams', 'username': 'louiswilliams'}Message: |