Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8432

Mongod can fail to output error message during index building

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.4
    • Affects Version/s: None
    • Component/s: Index Maintenance, Logging
    • Labels:
      None
    • ALL

      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());
      }
      

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: