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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.13
    • Affects Version/s: 3.5.10
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Storage 2017-10-02

      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.

        1. Screen Shot 2017-08-03 at 4.43.46 PM.png
          96 kB
          YunHe Wang
        2. Screen Shot 2017-08-03 at 4.48.53 PM.png
          93 kB
          YunHe Wang

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

              Created:
              Updated:
              Resolved: