[SERVER-65435] Config fuzzer can set eviction trigger lower than amount of dirty data a single operation may generate Created: 11/Apr/22  Updated: 29/Oct/23  Resolved: 22/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.2, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Gregory Noma Assignee: Josef Ahmad
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0, v5.0
Sprint: Execution Team 2022-06-27
Participants:
Linked BF Score: 0

 Description   

The config fuzzer can set eviction_dirty_trigger as low as ~20MB or possibly even lower. If it then runs a test which inserts large documents, it is possible that one of these operations may generate more dirty data than we allow for. Currently, this manifests as the operation hanging indefinitely. After SERVER-61909, this may instead manifest as the operation failing and an error being returned to the user. However, even the latter may make tests unhappy if they expect these operations to succeed. We may want to consider re-evaluating the minimum bounds for the eviction settings that the config fuzzer can generate.



 Comments   
Comment by Josef Ahmad [ 19/Aug/22 ]

The 6.0 backport has been merged but I'm not seeing the automatic githook message here, so I'm pasting the commit manually:

 

commit 42a7061258533f30248082891bb9b652c6b49e0c (origin/v6.0)
Author: Josef Ahmad <josef.ahmad@mongodb.com>
Date:   Wed Jun 22 07:44:21 2022 +0000

    SERVER-65435 Increase fuzzer's min eviction_dirty_trigger to 50MB

    (cherry picked from commit 2dde408370d5cb709c9be976123bbc266480b38a)

 

Comment by Githook User [ 23/Jun/22 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-65435 Increase fuzzer's min eviction_dirty_trigger to 50MB
Branch: davish/SERVER-63099
https://github.com/mongodb/mongo/commit/2dde408370d5cb709c9be976123bbc266480b38a

Comment by Githook User [ 22/Jun/22 ]

Author:

{'name': 'Josef Ahmad', 'email': 'josef.ahmad@mongodb.com', 'username': 'josefahmad'}

Message: SERVER-65435 Increase fuzzer's min eviction_dirty_trigger to 50MB
Branch: master
https://github.com/mongodb/mongo/commit/2dde408370d5cb709c9be976123bbc266480b38a

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