Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1576

New error code for unrecognized pipeline operator

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.0
    • None
    • None
    • None

    Description

      /Collection/aggregate is failing in currently nightly builds due to changed error code we are asserting.

      See SERVER-25038

        "results": [
      lt-test-libmongoc: tests/test-mongoc-collection.c:2477: test_aggregate: Assertion `error.code == 16436' failed.
       
      Program received signal SIGABRT, Aborted.
      0x00007ffff6b12418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
      54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      (gdb) f 4
      #4  0x0000000000437d9f in test_aggregate () at tests/test-mongoc-collection.c:2477
      2477	   ASSERT (error.code == 16436);
      (gdb) p error
      $1 = {
        domain = 5, 
        code = 40324, 
        message =     "Unrecognized pipeline stage name: '$asdf'", '\000' <repeats 462 times>
      }
      

      Attachments

        Activity

          People

            bjori Hannes Magnusson
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: