[SERVER-64944] failed: sharding_multiversion on enterprise-rhel-80-64-bit-multiversion-all-feature-flags [mongodb-mongo-master @ 6aee10ef] (lookup_graph_lookup_foreign_becomes_sharded.js) Created: 25/Mar/22  Updated: 29/Oct/23  Resolved: 25/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Yoon Soo Kim Assignee: Yoon Soo Kim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2022-04-04
Participants:
Linked BF Score: 153

 Description   

Recently disabled lookup_graph_lookup_foreign_becomes_sharded.js using checkSBEEnabled() function when featureFlagSBELookupPushdown feature is turned on. It turned out that checkSBEEnabled() can't detect reliably whether a SBE feature is turned on or not on the last-lts version (5.0).

So, we need to find another way to detect reliably whether a SBE feature is turned on or not on the last-lts.

But checkSBEEnabled()'s semantics is not good to detect whether a SBE feature is turned on on the last-lts version because the SBE is not turned on by default in that version and it will return false.

Proposed fix is to query featureFlagSBELookupPushdown value directly to the shard since there's only one shard in this test configuration.

The real test failure must be investigated by SERVER-64714.

Information from the BF ticket.

sharding_multiversion on enterprise-rhel-80-64-bit-multiversion-all-feature-flags

Host: i-0fc099fc82d10a98d
Project: mongodb-mongo-master
Commit: 6aee10ef

Failing Test Logs:

  • lookup_graph_lookup_foreign_becomes_sharded.js - Logs | History

Task Logs:

Mongo Shell Failed to Load

Logs:

uncaught exception: Error: [0] != [1] are not equal : Expected exactly 1 op(s) matching: {
"ns" : "lookup_graph_lookup_foreign_becomes_sharded.source",
"errCode" : 13388,
"errMsg" : {
"$regex" : "lookup_graph_lookup_foreign_becomes_sharded.foreign is not currently available"
}
} in profiler [
{
"op" : "command",
"ns" : "lookup_graph_lookup_foreign_becomes_sharded.source",
"command" : {
"aggregate" : "source",
"pipeline" : [
{
"$lookup" : {
"from" : "foreign",
"localField" : "local",
"foreignField" : "foreign",
"as" : "results"
}
}
],
"cursor" : {
"batchSize" : NumberLong(2)
},
"let" : {
 
},
"fromMongos" : false,
"readConcern" : {
"level" : "local",
"provenance" : "implicitDefault"
},
"writeConcern" : {
"w" : "majority",
"wtimeout" : 0,
"provenance" : "implicitDefault"
},
"shardVersion" : [
Timestamp(0, 0),
ObjectId("000000000000000000000000")
],
"databaseVersion" : {
"uuid" : UUID("15a7f386-8162-4279-a9af-f7e1563e95df"),
"timestamp" : Timestamp(1648193313, 43),
"lastMod" : 1
},
"lsid" : {
"id" : UUID("024d0ffe-f121-4386-b017-116d3e212518"),
"uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=")

logs



 Comments   
Comment by Githook User [ 25/Mar/22 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: SERVER-64944 Temporarily disable test when featureFlagSBELookupPushdown is turned on
Branch: master
https://github.com/mongodb/mongo/commit/4dcb6069ca73344e0527102302410b96a241cd64

Comment by Ethan Zhang (Inactive) [ 25/Mar/22 ]

yoonsoo.kim Can you provide a summary of what needs to be fixed?

Generated at Thu Feb 08 06:01:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.