Jira (PDB-2478) Allow triggering of GC processes via POST

1 view
Skip to first unread message

Ryan Senior (JIRA)

unread,
Feb 29, 2016, 10:16:04 AM2/29/16
to puppe...@googlegroups.com
Ryan Senior created an issue
 
PuppetDB / New Feature PDB-2478
Allow triggering of GC processes via POST
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/02/29 7:15 AM
Labels: tcse
Priority: Normal Normal
Reporter: Ryan Senior

Currently GC background processes are triggered by a timed "duration" style background thread. This is not very flexible and can cause problems as the duration is calculated on startup. This can lead to processes running at peak times, inadvertantly. This may not happen at first, but a restart or an outage can cause the process to be restarted, duration recalculated and then a DB intensive GC operation can then cause service slowness.

We should allow the triggering of these GC tasks via a POST. This should also allow the triggering of these jobs separately/independently. User's wanting full control of the GC processes could "disable" duration GC by setting the appropriate settings to 0. Users would then use use puppet to setup cron jobs for triggering these jobs when they want them to run (at the desired frequency).

This might need to be broken into more than one ticket, but below needs to be finished to call this task complete:

  1. One new "gc" endpoint (or parameter) for each GC task
  2. Documentation on disabling current behavior
  3. Documentation on the GC tasks along with recommendations on frequency/timing
  4. POST examples in docs to trigger the new GC calls
  5. Puppet code examples on setting up the GC tasks
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc)
Atlassian logo

Ryan Senior (JIRA)

unread,
Feb 29, 2016, 10:17:03 AM2/29/16
to puppe...@googlegroups.com
Ryan Senior commented on New Feature PDB-2478
 
Re: Allow triggering of GC processes via POST

Daniele Sluijters this might be of interest to you as I recall having a conversation on the PuppetDB GC tasks running during peak times

Andrew Roetker (JIRA)

unread,
Mar 9, 2016, 12:01:04 PM3/9/16
to puppe...@googlegroups.com
Andrew Roetker updated an issue
 
Change By: Andrew Roetker
Sprint: PuppetDB 2016- 03 04 - 23 06

Ryan Senior (JIRA)

unread,
Mar 23, 2016, 10:37:04 AM3/23/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: PuppetDB 2016-04- 06 20
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Ryan Senior (JIRA)

unread,
Mar 23, 2016, 3:31:03 PM3/23/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: PuppetDB 2016- 05- 04 -20

Ryan Senior (JIRA)

unread,
Apr 6, 2016, 12:18:07 PM4/6/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: PuppetDB 2016-04-20 Funnel

Ryan Senior (JIRA)

unread,
Apr 7, 2016, 3:54:03 PM4/7/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Story Points: 3

Rob Browning (JIRA)

unread,
May 11, 2016, 3:45:03 PM5/11/16
to puppe...@googlegroups.com
Rob Browning assigned an issue to Rob Browning
Change By: Rob Browning
Assignee: Rob Browning

John Duarte (JIRA)

unread,
Jun 22, 2016, 7:18:06 PM6/22/16
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Risk Assessment: Low

John Duarte (JIRA)

unread,
Jun 22, 2016, 7:18:07 PM6/22/16
to puppe...@googlegroups.com
John Duarte updated an issue
Change By: John Duarte
QA Status: Reviewed

Rob Browning (JIRA)

unread,
Aug 5, 2016, 12:16:03 AM8/5/16
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
Fix Version/s: PDB 4.2.0

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:59:59 AM6/21/23
to puppe...@googlegroups.com
Claudia Petty updated an issue
Change By: Claudia Petty
Labels: new-feature tcse
This message was sent by Atlassian Jira (v8.20.21#820021-sha1:38274c8)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages