[SERVER-54613] [SBE] Use classic engine to execute queries against time-series collections Created: 18/Feb/21  Updated: 29/Oct/23  Resolved: 23/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Anton Korshunov Assignee: Andrii Dobroshynski (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-69433 Slot-Based Query Execution Engine not... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query Execution 2021-03-08, Query Execution 2021-03-22, Query Execution 2021-04-05
Participants:

 Description   

In SBE we have a fallback mechanism to execute queries containing unsupported features using the classic engine. Since we don't have full support of time-series collection in SBE yet, we should use this mechanism for time-series queries.



 Comments   
Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Andrii Dobroshynski', 'email': 'andrii.dobroshynski@mongodb.com', 'username': 'dobroshynski'}

Message: SERVER-54613 [SBE] Use classic engine to execute queries against time-series collections
Branch: master
https://github.com/mongodb/mongo/commit/d989d73216d0e3b7ac61f5368b41857de7b66de4

Comment by Mihai Andrei [ 16/Mar/21 ]

As part of the work on SERVER-54743, the ‘sbe_incompatible’ tag has been removed from a number of timeseries tests. However, these tests currently don’t run in the SBE build variant because the timeseries collection feature flag is not enabled, so all of the tests will stop running due to early returns like the following. As such, I think this task should investigate enabling the timeseries flag for the SBE build variant and verify that the following tests pass:

  • jstests/noPassthrough/hybrid_index_timeseries.js
  • jstests/noPassthrough/resumable_timeseries_index_build_collection_scan_phase.js
  • jstests/noPassthrough/timeseries_collStats.js
  • jstests/noPassthrough/timeseries_downgrade_fcv.js
  • jstests/noPassthrough/timeseries_insert_invalid_timefield.js
  • jstests/noPassthrough/timeseries_insert_ordered_false.js
  • jstests/noPassthrough/timeseries_insert_ordered_true.js
  • jstests/noPassthrough/timeseries_retry_writes.js
  • jstests/noPassthrough/timeseries_serverStatus.js
  • jstests/noPassthrough/timeseries_server_parameters.js
  • jstests/noPassthrough/timeseries_startup.js
  • jstests/noPassthrough/timeseries_ttl.js
  • jstests/noPassthrough/timeseries_write_concern.js
Comment by Ethan Zhang (Inactive) [ 24/Feb/21 ]

Reminder: We need to update the timeseries js tests to remove the sbe_incompatible tag.

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