[SERVER-73348] Aggregation bug in DocumentSourceSequentialDocumentCache Created: 26/Jan/23  Updated: 29/Oct/23  Resolved: 15/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 6.0.10, 7.0.2

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Alya Berciu
Resolution: Fixed Votes: 0
Labels: greenerbuild
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-84834 Investigate sending abandoned doc cac... Open
Assigned Teams:
Query Optimization
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Participants:

 Description   

Running some tests locally, I found some unexpected behavior in an aggregation using the DocumentSourceSequentialDocumentCache. In the comments below is steps to reproduce this.

This works fine on 5.0 but fails on 6.0 and newer versions.



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

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-73348 Remove DocumentSourceSequentialDocumentCache invariant
Branch: v6.0
https://github.com/mongodb/mongo/commit/bd3e9cba9774d8b749b9f08c542b7fc58c45650d

Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-73348 Remove DocumentSourceSequentialDocumentCache invariant
Branch: v7.0
https://github.com/mongodb/mongo/commit/782cb3aaae14d914e571004be4e949920d731d18

Comment by Githook User [ 15/Aug/23 ]

Author:

{'name': 'Alya Berciu', 'email': 'alya.berciu@mongodb.com', 'username': 'alyacb'}

Message: SERVER-73348 Remove DocumentSourceSequentialDocumentCache invariant
Branch: master
https://github.com/mongodb/mongo/commit/62dc09a2f04f7c214d6dfedcf4ee1c5c655edefc

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