[SERVER-30388] ttlMonitorSleepSecs parameter should only be positive Created: 28/Jul/17  Updated: 30/Oct/23  Resolved: 11/Jun/18

Status: Closed
Project: Core Server
Component/s: Internal Code, TTL
Affects Version/s: 3.0.0
Fix Version/s: 4.1.1

Type: Improvement Priority: Major - P3
Reporter: Kevin Pulo Assignee: Ben Judd
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-34952 Require validators for non-boolean se... Closed
is related to SERVER-30389 Simple and generic way to restrict se... Closed
Backwards Compatibility: Minor Change
Sprint: Storage NYC 2018-06-18
Participants:

 Description   

It's currently possible to set the ttlMonitorSleepSecs parameter to 0 or a negative value, neither of which make sense.

The code should either restrict the paramter to only allow non-negative values, or else interpret values <= 0 to mean the default value.



 Comments   
Comment by Githook User [ 11/Jun/18 ]

Author:

{'username': 'Icantjuddle', 'name': 'Ben Judd', 'email': 'ben.judd@10gen.com'}

Message: SERVER-30388 Validating ttlMonitorSleepSecs to avoid busy wait with non-positive values
Branch: master
https://github.com/mongodb/mongo/commit/cd49c442dcc0fc3fd1222e678706d396b9ef485c

Comment by Kevin Pulo [ 07/Jun/18 ]

SERVER-34345 makes this much easier to do.

Generated at Thu Feb 08 04:23:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.