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

Futher investigate the cause of blacklisting jstests/core/index_key_expression.js in some sharding pasthrough

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2023-01-23

      The jstests/core/index_key_expression.js failed in some of the sharding passthrough with the error - "The field '$const' is not valid for an index specification.", where the extra $const specifier gets prepended to the index spec in some cases, as in: 

      { $const: { key: { b: 1.0, a: -1.0 }, name: \"btreeIndex\" } }

      The  $const causes the index-specification validation code to flag this spec as invalid; hence, the JS test fails with an unexpected error. This could be a legit issue and this ticket is about investigating the cause.

            Assignee:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Reporter:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: