[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:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0
Sprint: Storage NYC 2019-05-06
Participants:
Case:

 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: SERVER-40786 Improve error message in IndexCatalog::dropAllIndexes()
Branch: v4.0
https://github.com/mongodb/mongo/commit/ad1be35c31ede230c13de3c4acfeae1c594ac280

Comment by Githook User [ 30/Apr/19 ]

Author:

{'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}

Message: SERVER-40786 Improve error message in IndexCatalog::dropAllIndexes()
Branch: master
https://github.com/mongodb/mongo/commit/cad0509bf1a5ad7b922de7fd80121534504df081

Generated at Thu Feb 08 04:55:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.