[SERVER-74335] Spill to disk tests for $group must be tagged as "requires_persistence" on the v6.0 branch Created: 23/Feb/23  Updated: 29/Oct/23  Resolved: 24/Feb/23

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

Type: Bug Priority: Major - P3
Reporter: David Storch Assignee: David Storch
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-73757 Calling storageSize() on ephemeral te... Backlog
is related to SERVER-73717 When using in-memory storage engine s... Closed
is related to SERVER-70493 [SBE] $group's executionStats should ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QE 2023-03-06
Participants:
Linked BF Score: 69

 Description   

The following integration tests have been failing when run against the inMemory storage engine on the 6.0 branch ever since the changes from SERVER-70395 were backported to 6.0:

They are failing essentially because of SERVER-73757. That is, the inMemory storage engine reports the storage size of a TemporaryRecordStore used for spilling as 0. This causes assertions about the spilledDataStorageSize to fail. The only reason that we don't see a similar failure on the master branch is that the tests in question were tagged with "requires_persistence" as part of the work for SERVER-70493. This prevents them from running against the inMemory storage engine. We should solve the problem on the 6.0 by adding the missing "requires_persistence" tags.

As a side note: related ticket SERVER-73717 may also be of interest since it proposes a potential change for how spilling to a TemporaryRecordStore works with the inMemory storage engine.



 Comments   
Comment by Githook User [ 23/Feb/23 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}

Message: SERVER-74335 Add missing 'requires_persistence' tags to spilling tests
Branch: v6.0
https://github.com/mongodb/mongo/commit/f5a7a112ba9eccd1a8cc0bd10421e6bd17a86761

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