[SERVER-40786] Improve error message in IndexCatalog::dropAllIndexes() Created: 23/Apr/19 Updated: 29/Oct/23 Resolved: 30/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.10, 4.1.11 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benety Goh | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v4.0
|
||||||||
| Sprint: | Storage NYC 2019-05-06 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
|
When IndexCatalog::dropAllIndexes() detects an inconsistent state in the catalog after dropping all indexes, it logs the index count in the on-disk catalog and the number of indexes removed during the function invocation. It would be beneficial to log the index names (and specs) as well for improved diagnostics. |
| Comments |
| Comment by Githook User [ 01/May/19 ] |
|
Author: {'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 30/Apr/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}Message: |