[SERVER-55559] Rollback requires _id index when writing rollback file Created: 26/Mar/21  Updated: 29/Oct/23  Resolved: 06/Apr/21

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

Type: Bug Priority: Major - P3
Reporter: Eric Cox (Inactive) Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-53619 Verify that $lookup and $unionWith wo... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

Initiate a rollback while running the tests in timeseries_union_with.js which were added under SERVER-53619.

https://spruce.mongodb.com/task/mongodb_mongo_master_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_burn_in:retryable_writes_jscore_stepdown_passthrough_1_enterprise_rhel_80_64_bit_dynamic_all_feature_flags_required_patch_6afd283045dc43c0b249424ba03a72b89e5ad8c6_605d1da161837d3c4877b6d9_21_03_25_23_33_22/tests?execution=3&sortBy=STATUS&sortDir=ASC

Sprint: Execution Team 2021-04-05, Execution Team 2021-04-19
Participants:
Linked BF Score: 122

 Description   

While testing $unionWith in an agg pipeline against a time-series collection, we observed a repeated failure where an fassert() is tripped here.

The rollback requires an _id of the system.bucket.X collection. When the collection is clustered, these queries fail.



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

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-55559 StorageInterfaceImpl should use bounded collection scans on clustered collections
Branch: master
https://github.com/mongodb/mongo/commit/9813adfb617761dc9d37a841138754ab3177fffd

Comment by Ethan Zhang (Inactive) [ 30/Mar/21 ]

Some timeseries tests are ignored in:

  • replica_sets_kill_primary_jscore_passthrough
  • retryable_writes_jscore_stepdown_passthrough

Please search for "SERVER-55559" in the yml files for those two suites and undo the test exclusion when this ticket is fixed.

Comment by David Storch [ 26/Mar/21 ]

ethan.zhang louis.williams is it a mistake that this ticket is in the backlog? Is it supposed to be added to a sprint, or tied to a particular epic, or in the triage queue?

Comment by Eric Cox (Inactive) [ 26/Mar/21 ]

CC: ethan.zhang

Comment by Louis Williams [ 26/Mar/21 ]

Add a case here to do a bounded scan when the collection is clustered.

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