[SERVER-68983] Fix calibrator after adding new feature flag forceBonsai Created: 19/Aug/22  Updated: 29/Oct/23  Resolved: 30/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Alexander Ignatyev Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: M4
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.1
Sprint: QO 2022-09-05
Participants:

 Description   

Explain v2, which is used for SBE/Bonsai queries, is not supported queries against collections with hidden indexes:

abt_calibration> db.coll.unhideIndex('a_1')
{ hidden_old: true, hidden_new: false, ok: 1 }
abt_calibration> db.coll.aggregate({$match: {a: 10}}).explain('executionStats').explainVersion
2
abt_calibration> db.coll.hideIndex('a_1')
{ hidden_old: false, hidden_new: true, ok: 1 }
abt_calibration> db.coll.aggregate({$match: {b: 1}}).explain('executionStats').explainVersion
1



 Comments   
Comment by Githook User [ 23/Aug/22 ]

Author:

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

Message: SERVER-68983 Do not run ABT calibration workflows with hidden indexes
Branch: master
https://github.com/mongodb/mongo/commit/2b69d029a298c49e40c081f24c3f5fd31e1f814a

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