Jira (PUP-10619) Remove `environment_timeout` setting in favor of `environment_ttl`

18 views
Skip to first unread message

Maggie Dreyer (Jira)

unread,
Aug 14, 2020, 2:18:03 PM8/14/20
to puppe...@googlegroups.com
Maggie Dreyer created an issue
 
Puppet / Task PUP-10619
Remove `environment_timeout` setting in favor of `environment_ttl`
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/08/14 11:17 AM
Priority: Normal Normal
Reporter: Maggie Dreyer

The environment_timeout setting is a less-than-ideal way of dealing with environment purging, because it doesn't take into account the actual usage patterns for any given environment, and forces the user to make a call on whether to accept longer load times (timeout of 0), inconsistent state between JRubies (a timeout between 0 and unlimited), and high memory usage (unlimited timeout).

So instead, we want to implement and environment_ttl setting that will purge environments when they haven't been accessed for a certain amount of time, see PUP-8014. When this is in, we want to remove the environment_timeout setting in favor of the smarter purging mode.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Maggie Dreyer (Jira)

unread,
Aug 14, 2020, 2:19:03 PM8/14/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Aug 17, 2020, 2:13:03 PM8/17/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 10, 2020, 12:39:03 PM10/10/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 10, 2020, 12:39:04 PM10/10/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 10, 2020, 12:39:04 PM10/10/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 12, 2020, 1:48:03 PM10/12/20
to puppe...@googlegroups.com
Josh Cooper commented on Task PUP-10619
 
Re: Remove `environment_timeout` setting in favor of `environment_ttl`

Keep the old environment_timeout setting, emit a warning, and have it set environment_ttl.

Josh Cooper (Jira)

unread,
Oct 12, 2020, 2:37:03 PM10/12/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Oct 13, 2020, 7:53:04 PM10/13/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
The {{environment_timeout}} setting is a less-than-ideal way of dealing with environment purging, because it doesn't take into account the actual usage patterns for any given environment, and forces the user to make a call on whether to accept longer load times (timeout of 0), inconsistent state between JRubies (a timeout between 0 and unlimited), and high memory usage (unlimited timeout).

So instead, we want to implement and The {{ environment_ttl environment_timeout_mode }} setting was added in PUP-8014, and this ticket is to change the remove the setting and change the default (and only) behavior so that will purge puppet evicts environments when they that haven't been accessed used for a certain amount of time , see PUP-8014 . When this is in, we want to remove the {{environment_timeout}} setting in favor of the smarter purging mode.

Josh Cooper (Jira)

unread,
Oct 13, 2020, 7:59:03 PM10/13/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Puppet no longer supports environment timeouts based on when the environment was created, as a result the {{environment_timeout_mode}} setting has been removed. In Puppet 7, the {{environment_timeout}} setting is always interpreted as "0" (never cache), "unlimited" (always cache), or a a value relative to when the environment was last used.
Reply all
Reply to author
Forward
0 new messages