[SERVER-54714] Concurrency workloads for queries on time-series collections Created: 22/Feb/21  Updated: 29/Oct/23  Resolved: 23/Apr/21

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

Type: Task Priority: Major - P3
Reporter: Louis Williams Assignee: Dianna Hohensee (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-54966 Ensure test coverage of both ordered ... Closed
related to SERVER-61178 Use less concurrency in find_cmd_with... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-04-19, Execution Team 2021-05-03
Participants:

 Description   

Create concurrency workloads for time-series collections that exercise the following interesting behaviors:

  • Queries that use bounded collection scans (i.e. no indexes are available and query by time)
  • Queries that use both metadata and time indexes
  • Index create/drop for metadata indexes and time indexes


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

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-54714 Concurrency workloads for queries on time-series collection indexes
Branch: master
https://github.com/mongodb/mongo/commit/3f96a89c6275fcb59b306c1a68fc1b2d244ca4c7

Comment by Dianna Hohensee (Inactive) [ 08/Apr/21 ]

Notes:

can use https://github.com/mongodb/mongo/blob/master/jstests/concurrency/fsm_workloads/insert_ttl_timeseries.js as a template for time-series workload tips

initialize collection with 10 documents, say.
8 states, 4 for creating indexes, 4 for queries

4 index states:

  • create time index
  • create meta index
  • drop time index
  • drop meta index

4 query states:

  • query all documents by meta
  • query all documents by time
  • query subset of documents by meta
  • query subset of documents by time

Whether a query uses an index or not cannot be certain, but the documents returned should be consistent either way.

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