[SERVER-66163] Increasing log level causes test to hit tassert. Created: 03/May/22  Updated: 29/Oct/23  Resolved: 10/May/22

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

Type: Bug Priority: Major - P3
Reporter: Andrew Witten (Inactive) Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: QO 2022-05-16
Participants:

 Description   

When I run

python3 buildscripts/resmoke.py run jstests/core/hidden_index.js

the test passes.

When I run

python3 buildscripts/resmoke.py run jstests/core/hidden_index.js --mongodSetParameter='{logLevel: 5}'

the test hits a tassert.

Increasing the log level shouldn't cause tests to fail.



 Comments   
Comment by Githook User [ 09/May/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-66163 Use index entry from IXScan to report IET

(cherry picked from commit 39ccb28e092ad8f6e4748fceb59319ef32d97b02)
Branch: v6.0
https://github.com/mongodb/mongo/commit/15c54312985ba077cda298282e697a88e64ab5d0

Comment by Githook User [ 09/May/22 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-66163 Use index entry from IXScan to report IET
Branch: master
https://github.com/mongodb/mongo/commit/39ccb28e092ad8f6e4748fceb59319ef32d97b02

Comment by Andrew Witten (Inactive) [ 04/May/22 ]

It looks like the tassert we are hitting is in the function ietsToString. It looks like that is called only if the log level is set to 5 right here

Comment by James Wahlin [ 03/May/22 ]

Here is an example of the tassert triggered:

[j0:s0:prim] | 2022-05-03T15:51:11.230+00:00 E  ASSERT   4457000 [conn48] "Tripwire assertion","attr":{"error":{"code":6334801,"codeName":"Location6334801","errmsg":"IET vector must have the same number of elements as the key pattern"},"location":"{fileName:\"src/mongo/db/query/interval_evaluation_tree.cpp\", line:185, functionName:\"operator()\"}"}

 

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