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

Exclude command_let_variables.js from sharded_retryable_writes_downgrade

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.0
    • QE 2023-05-01
    • 66

      The modifications to command_let_variables.js from related ticket SERVER-75356 added some test cases which run explain. But explain against a sharded cluster doesn't currently accept readConcern, so the test fails in the sharded_retryable_writes_downgrade passthrough with an error like this:

                  uncaught exception: Error: command failed: {
                  	"ok" : 0,
                  	"errmsg" : "Command explain does not support { readConcern: { level: \"majority\", afterClusterTime: Timestamp(1681916234, 13), provenance: \"clientSupplied\" } } :: caused by :: read concern not supported",
                  	"code" : 72,
                  	"codeName" : "InvalidOptions",
      

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: