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

XMLWordPrintableJSON

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

      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.48.53 PM.png
          93 kB
          YunHe Wang
        2. Screen Shot 2017-08-03 at 4.43.46 PM.png
          96 kB
          YunHe Wang

            Assignee:
            Louis Williams
            Reporter:
            YunHe Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: