-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.0.7, 2.2.3, 2.4.0-rc0
-
Component/s: Admin, Index Maintenance
-
None
-
ALL
When an index build as part of a run of mongod --repair fails, the cleanup code that saves aside the last error information, drops indexes, and then restores the original last error value erroneously asserts that there is a last error object. The code is robust to there being no such object, and when run with --repair, there isn't one. In this case, the root cause of the index build failure will not be reported, leaving only a message such as the following (from v2.0.7):
Tue Feb 5 00:22:37 [initandlisten] dbname Assertion failure le && !saveerrmsg.empty() db/pdfile.cpp 1724
Behavior not confirmed in 2.4 or 2.2, but code is similar to 2.0.
- duplicates
-
SERVER-8432 Mongod can fail to output error message during index building
- Closed