Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2842

The format of Aggregate Explain response has been changed

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.10.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The format of an Aggregate Explain response has been changed.

      Before we had:

      {
      	"stages": [{
      			"$cursor": {
      				"query": {},
      				"fields": {
      					"x": 1,
      					"_id": 1
      				},
      				"queryPlanner": {
      					"plannerVersion": 1,
      					"namespace": "Tests11051524.MongoCollectionTests",
      					"indexFilterSet": false,
      					"parsedQuery": {},
      					"queryHash": "8B3D4AB8",
      					"planCacheKey": "8B3D4AB8",
      					"winningPlan": {
      						"stage": "COLLSCAN",
      						"direction": "forward"
      					},
      					"rejectedPlans": []
      				}
      			}
      		}, {
      			"$project": {
      				"_id": true,
      				"x": "$x"
      			}
      		}
      	],
      	"ok": 1.0
      }
      
      

      , but now all latests servers return:

      {
      	"queryPlanner": {
      		"plannerVersion": 1,
      		"namespace": "Tests11051512.MongoCollectionTests",
      		"indexFilterSet": false,
      		"parsedQuery": {},
      		"queryHash": "8B3D4AB8",
      		"planCacheKey": "8B3D4AB8",
      		"optimizedPipeline": true,
      		"winningPlan": {
      			"stage": "PROJECTION_DEFAULT",
      			"transformBy": {
      				"_id": true,
      				"x": "$x"
      			},
      			"inputStage": {
      				"stage": "COLLSCAN",
      				"direction": "forward"
      			}
      		},
      		"rejectedPlans": []
      	},
      	"serverInfo": {
      		"host": "EPBYMINW3653",
      		"port": 27017,
      		"version": "4.3.0-2014-g8010c51",
      		"gitVersion": "8010c51d3f1cc1020959f8b351f8242d141d42a3"
      	},
      	"ok": 1.0
      }
      
      

      can be related to this ticket: https://jira.mongodb.org/browse/SERVER-38691

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: