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

jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js fails agains classic engine with all feature flags

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Hide

      resmoke run --runAllFeatureFlagTests jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js

      Show
      resmoke run --runAllFeatureFlagTests jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js
    • QE 2023-10-30
    • 5

      2023-10-18T12:27:44.888Z assert: [1] != [0] are not equal : Should only have a single UNPACK_TS_BUCKET stage: {
          "explainVersion" : "1",
          "stages" : [
              {
                  "$cursor" : {
                      "queryPlanner" : {
                          "namespace" : "test.system.buckets.timeseries_match_pushdown_with_project",
                          "indexFilterSet" : false,
                          "parsedQuery" : {
                              "control.max.a" : {
                                  "$_internalExprGt" : 5
                              }
                          },
                          "queryHash" : "B7829371",
                          "planCacheKey" : "B7829371",
                          "maxIndexedOrSolutionsReached" : false,
                          "maxIndexedAndSolutionsReached" : false,
                          "maxScansToExplodeReached" : false,
                          "winningPlan" : {
                              "stage" : "COLLSCAN",
                              "filter" : {
                                  "control.max.a" : {
                                      "$_internalExprGt" : 5
                                  }
                              },
                              "direction" : "forward"
                          },
                          "rejectedPlans" : [ ]
                      }
                  }
              },
              {
                  "$_internalUnpackBucket" : {
                      "include" : [
                          "_id",
                          "a",
                          "b"
                      ],
                      "timeField" : "time",
                      "metaField" : "meta",
                      "bucketMaxSpanSeconds" : 3600,
                      "assumeNoMixedSchemaData" : true,
                      "eventFilter" : {
                          "a" : {
                              "$gt" : 5
                          }
                      }
                  }
              },
              {
                  "$project" : {
                      "_id" : true,
                      "b" : true
                  }
              }
          ],
          "serverInfo" : {
              "host" : "ip-10-128-50-239.ec2.internal",
              "port" : 20250,
              "version" : "7.2.0-alpha-688-g5f753b6-patch-652fbb2e850e616c005ae290",
              "gitVersion" : "5f753b64500373a5a36acefd4c9867a3aafc187c"
          },
          "serverParameters" : {
              "internalQueryFacetBufferSizeBytes" : 104857600,
              "internalQueryFacetMaxOutputDocSizeBytes" : 104857600,
              "internalLookupStageIntermediateDocumentMaxSizeBytes" : 104857600,
              "internalDocumentSourceGroupMaxMemoryBytes" : 104857600,
              "internalQueryMaxBlockingSortMemoryUsageBytes" : 104857600,
              "internalQueryProhibitBlockingMergeOnMongoS" : 0,
              "internalQueryMaxAddToSetBytes" : 104857600,
              "internalDocumentSourceSetWindowFieldsMaxMemoryBytes" : 104857600,
              "internalQueryFrameworkControl" : "forceClassicEngine"
          },
          "command" : {
              "aggregate" : "system.buckets.timeseries_match_pushdown_with_project",
              "pipeline" : [
                  {
                      "$_internalUnpackBucket" : {
      "},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn9","msg":"Connection ended","attr":\{"remote":"127.0.0.1:57360","uuid":{"uuid":,"connectionId":9,"connectionCount":0}}
                          "timeField" : "time",
                          "metaField" : "meta",
                          "bucketMaxSpanSeconds" : 3600,
                          "assumeNoMixedSchemaData" : true,
                          "usesExtendedRange" : false,
                          "fixedBuckets" : false
                      }
                  },
                  {
                      "$match" : {
                          "a" : {
                              "$gt" : 5
                          }
                      }
                  },
                  {
                      "$project" : {
                          "b" : 1
                      }
                  }
              ],
              "cursor" : {
      
              },
              "collation" : {
                  "locale" : "simple"
              }
          },
          "ok" : 1
      }
      doassert@src/mongo/shell/assert.js:20:14
      assert.eq@src/mongo/shell/assert.js:176:17
      runTest/unpackStage<@jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:44:20
      runTest@jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:55:7
      @jstests/noPassthroughWithMongod/timeseries_match_pushdown_with_project.js:74:8
      

      https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_classic_engine_all_feature_flags_required_query_patch_only_noPassthroughWithMongod_1_linux_enterprise_patch_5f753b64500373a5a36acefd4c9867a3aafc187c_652fbb2e850e616c005ae290_23_10_18_11_02_17/tests?execution=0&sortBy=STATUS&sortDir=ASC

            Assignee:
            irina.yatsenko@mongodb.com Irina Yatsenko (Inactive)
            Reporter:
            alexander.ignatyev@mongodb.com Alexander Ignatyev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: