Jira (PDB-2732) Refactor retry/discard logic for "in-memory" attempts

0 views
Skip to first unread message

Ryan Senior (JIRA)

unread,
May 23, 2016, 10:25:04 AM5/23/16
to puppe...@googlegroups.com
Ryan Senior created an issue
 
PuppetDB / New Feature PDB-2732
Refactor retry/discard logic for "in-memory" attempts
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/05/23 7:24 AM
Fix Versions: PDB 4.2.0
Priority: Normal Normal
Reporter: Ryan Senior

Currently, PDB failures get enqueued into the "scheduler" queue and get resubmitted to the regular queue after some amount of time has passed. Instead, the flow should be as follows

  1. Upon failure, the message is retried in-memory 10* times
  2. After 10* failures, the message progresses to 2nd level failure
  3. Message is retried 10* times for each 2nd level failure
  4. After 5* 2nd level failures, progresses to 3rd level
  5. 3rd level, the message is discarded, i.e. DLQ

Any number that has a '*' by it means it should be configurable. For now, second level can be the normal failure case (i.e. being delayed and reenqueued). Once the threadpools get in place, we will change this to scheduling a thread in memory to retry the message. To do these we need the new threadpool in place (separate ticket) then work to change this 2nd level behavior (separate ticket).

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9)
Atlassian logo

Eric Thompson (JIRA)

unread,
Jul 6, 2016, 7:41:37 PM7/6/16
to puppe...@googlegroups.com

Claudia Petty (Jira)

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