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

timeseries_lastpoint_top.js is no longer working

    • Query Optimization
    • Fully Compatible
    • ALL
    • Hide

      Remove the early return at the top of the test, and run the test.

      Show
      Remove the early return at the top of the test , and run the test.
    • 158

      It has been silently not running for a while (see SERVER-72517), but when I go to turn it back on it fails:

      [js_test:timeseries_lastpoint_top] 2023-02-01T02:28:10.112Z assert: [null] != [null] are equal : {
      [js_test:timeseries_lastpoint_top]      "explainVersion" : "1",
      [js_test:timeseries_lastpoint_top]      "stages" : [
      [js_test:timeseries_lastpoint_top]              {
      [js_test:timeseries_lastpoint_top]                      "$cursor" : {
      [js_test:timeseries_lastpoint_top]                              "queryPlanner" : {
      [js_test:timeseries_lastpoint_top]                                      "namespace" : "timeseries_lastpoint_top.system.buckets.in",
      [js_test:timeseries_lastpoint_top]                                      "indexFilterSet" : false,
      [js_test:timeseries_lastpoint_top]                                      "parsedQuery" : {
      [js_test:timeseries_lastpoint_top] 
      [js_test:timeseries_lastpoint_top]                                      },
      [js_test:timeseries_lastpoint_top]                                      "queryHash" : "1EFD6FE8",
      [js_test:timeseries_lastpoint_top]                                      "planCacheKey" : "1EFD6FE8",
      [js_test:timeseries_lastpoint_top]                                      "maxIndexedOrSolutionsReached" : false,
      [js_test:timeseries_lastpoint_top]                                      "maxIndexedAndSolutionsReached" : false,
      [js_test:timeseries_lastpoint_top]                                      "maxScansToExplodeReached" : false,
      [js_test:timeseries_lastpoint_top]                                      "winningPlan" : {
      [js_test:timeseries_lastpoint_top]                                              "stage" : "PROJECTION_DEFAULT",
      [js_test:timeseries_lastpoint_top]                                              "transformBy" : {
      [js_test:timeseries_lastpoint_top]                                                      "meta.hostid" : 1,
      [js_test:timeseries_lastpoint_top]                                                      "_id" : 0
      [js_test:timeseries_lastpoint_top]                                              },
      [js_test:timeseries_lastpoint_top]                                              "inputStage" : {
      [js_test:timeseries_lastpoint_top]                                                      "stage" : "COLLSCAN",
      [js_test:timeseries_lastpoint_top]                                                      "direction" : "forward"
      [js_test:timeseries_lastpoint_top]                                              }
      [js_test:timeseries_lastpoint_top]                                      },
      [js_test:timeseries_lastpoint_top]                                      "rejectedPlans" : [ ]
      [js_test:timeseries_lastpoint_top]                              }
      [js_test:timeseries_lastpoint_top]                      }
      [js_test:timeseries_lastpoint_top]              },
      [js_test:timeseries_lastpoint_top]              {
      [js_test:timeseries_lastpoint_top]                      "$group" : {
      [js_test:timeseries_lastpoint_top]                              "_id" : "$meta.hostid"
      [js_test:timeseries_lastpoint_top]                      }
      [js_test:timeseries_lastpoint_top]              }
      [js_test:timeseries_lastpoint_top]      ],
      [js_test:timeseries_lastpoint_top]      "serverInfo" : {
      [js_test:timeseries_lastpoint_top]              "host" : "ip-10-122-13-190",
      [js_test:timeseries_lastpoint_top]              "port" : 30000,
      [js_test:timeseries_lastpoint_top]              "version" : "6.3.0-alpha",
      [js_test:timeseries_lastpoint_top]              "gitVersion" : "refs/heads/charlie.swanson/SERVER-72517-feature-flag-robustness"
      [js_test:timeseries_lastpoint_top]      },
      [js_test:timeseries_lastpoint_top]      "serverParameters" : {
      [js_test:timeseries_lastpoint_top]              "internalQueryFacetBufferSizeBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalQueryFacetMaxOutputDocSizeBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalLookupStageIntermediateDocumentMaxSizeBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalDocumentSourceGroupMaxMemoryBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalQueryMaxBlockingSortMemoryUsageBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalQueryProhibitBlockingMergeOnMongoS" : 0,
      [js_test:timeseries_lastpoint_top]              "internalQueryMaxAddToSetBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalDocumentSourceSetWindowFieldsMaxMemoryBytes" : 104857600,
      [js_test:timeseries_lastpoint_top]              "internalQueryFrameworkControl" : "tryBonsai"
      [js_test:timeseries_lastpoint_top]      },
      [js_test:timeseries_lastpoint_top]      "command" : {
      [js_test:timeseries_lastpoint_top]              "aggregate" : "system.buckets.in",
      [js_test:timeseries_lastpoint_top]              "pipeline" : [
      [js_test:timeseries_lastpoint_top]                      {
      [js_test:timeseries_lastpoint_top]                              "$_internalUnpackBucket" : {
      [js_test:timeseries_lastpoint_top]                                      "timeField" : "time",
      [js_test:timeseries_lastpoint_top]                                      "metaField" : "tags",
      [js_test:timeseries_lastpoint_top]                                      "bucketMaxSpanSeconds" : 3600,
      [js_test:timeseries_lastpoint_top]                                      "assumeNoMixedSchemaData" : true,
      [js_test:timeseries_lastpoint_top]                                      "usesExtendedRange" : false
      [js_test:timeseries_lastpoint_top]                              }
      [js_test:timeseries_lastpoint_top]                      },
      [js_test:timeseries_lastpoint_top]                      {
      [js_test:timeseries_lastpoint_top]                              "$group" : {
      [js_test:timeseries_lastpoint_top]                                      "_id" : "$tags.hostid",
      [js_test:timeseries_lastpoint_top]                                      "mostRecent" : {
      [js_test:timeseries_lastpoint_top]                                              "$topN" : {
      [js_test:timeseries_lastpoint_top]                                                      "sortBy" : {
      [js_test:timeseries_lastpoint_top]                                                              "time" : -1
      [js_test:timeseries_lastpoint_top]                                                      },
      [js_test:timeseries_lastpoint_top]                                                      "output" : {
      [js_test:timeseries_lastpoint_top]                                                              "usage_user" : {
      [js_test:timeseries_lastpoint_top]                                                                      "usage_user" : "$usage_user"
      [js_test:timeseries_lastpoint_top]                                                              },
      [js_test:timeseries_lastpoint_top]                                                              "usage_guest" : {
      [js_test:timeseries_lastpoint_top]                                                                      "usage_guest" : "$usage_guest"
      [js_test:timeseries_lastpoint_top]                                                              },
      [js_test:timeseries_lastpoint_top]                                                              "usage_idle" : {
      [js_test:timeseries_lastpoint_top]                                                                      "usage_idle" : "$usage_idle"
      [js_test:timeseries_lastpoint_top]                                                              }
      [js_test:timeseries_lastpoint_top]                                                      },
      [js_test:timeseries_lastpoint_top]                                                      "n" : 1
      [js_test:timeseries_lastpoint_top]                                              }
      [js_test:timeseries_lastpoint_top]                                      }
      [js_test:timeseries_lastpoint_top]                              }
      [js_test:timeseries_lastpoint_top]                      }
      [js_test:timeseries_lastpoint_top]              ],
      [js_test:timeseries_lastpoint_top]              "cursor" : {
      [js_test:timeseries_lastpoint_top] 
      [js_test:timeseries_lastpoint_top]              },
      [js_test:timeseries_lastpoint_top]              "collation" : {
      [js_test:timeseries_lastpoint_top]                      "locale" : "simple"
      [js_test:timeseries_lastpoint_top]              }
      [js_test:timeseries_lastpoint_top]      },
      [js_test:timeseries_lastpoint_top]      "ok" : 1
      [js_test:timeseries_lastpoint_top] }
      [js_test:timeseries_lastpoint_top] doassert@src/mongo/shell/assert.js:20:14
      [js_test:timeseries_lastpoint_top] assert.neq@src/mongo/shell/assert.js:276:17
      [js_test:timeseries_lastpoint_top] expectCollScan@jstests/core/timeseries/libs/timeseries_lastpoint_helpers.js:181:16
      [js_test:timeseries_lastpoint_top] verifyLastpoint@jstests/core/timeseries/libs/timeseries_lastpoint_helpers.js:21:16
      [js_test:timeseries_lastpoint_top] testAllTimeMetaDirections@jstests/core/timeseries/libs/timeseries_lastpoint_helpers.js:243:32
      [js_test:timeseries_lastpoint_top] @jstests/core/timeseries/timeseries_lastpoint_top.js:59:30
      [js_test:timeseries_lastpoint_top] @jstests/core/timeseries/timeseries_lastpoint_top.js:168:3
      

            Assignee:
            peter.volk@mongodb.com Peter Volk
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: