[SERVER-8432] Mongod can fail to output error message during index building Created: 31/Jan/13  Updated: 11/Jul/16  Resolved: 06/Nov/13

Status: Closed
Project: Core Server
Component/s: Index Maintenance, Logging
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-8241 assertion failures (saveerrmsg) durin... Closed
is duplicated by SERVER-8449 Index build errors during mongod --re... Closed
Related
is related to SERVER-10219 Assertion failure when creating text ... Closed
Operating System: ALL
Participants:

 Description   

insert_makeIndex@pdfile.cpp:

try {
    getDur().writingInt(tableToIndex->indexBuildsInProgress) += 1;
    buildAnIndex(tabletoidxns, tableToIndex, idx, background, mayInterrupt);
}
catch (DBException& e) {
    ...
    verify(le && !saveerrmsg.empty()); // <- if this fails, then we can't see the message!
    setLastError(savecode, saverrrmsg.c_str());
}



 Comments   
Comment by auto [ 06/Nov/13 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-8432: clean up error handling on index build failure
Branch: master
https://github.com/mongodb/mongo/commit/0f7bd3d2d308ea2c7c154977bde301c87129d0df

Generated at Thu Feb 08 03:17:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.