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

ApplyOps on an insertion into "system.indexes" no longer returns useful error with a bad index on 3.5.10

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.10
    • Fix Version/s: 3.5.13
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage 2017-10-02

      Description

      We are running an "applyOps" command with a single oplog entry using the Java driver -> an oplog entry that is an insertion into "system.indexes" collection. Before, when an index with a bad key (for example, a string) is in the oplog, it returns the following:

      On mongoDB 3.5.10, it returns the following:

      The fact that the error is "Unknown" renders us incapable of handling it gracefully.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              louis.williams Louis Williams
              Reporter:
              yunhe.wang YunHe Wang
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: