Jira (PDB-3108) Enable certname "bash in place"

2 views
Skip to first unread message

Ryan Senior (JIRA)

unread,
Oct 19, 2016, 5:21:03 PM10/19/16
to puppe...@googlegroups.com
Ryan Senior created an issue
 
PuppetDB / New Feature PDB-3108
Enable certname "bash in place"
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2016/10/19 2:20 PM
Priority: Normal Normal
Reporter: Ryan Senior

This has been implemented in master, but we found an issue that was going to be fixed in

PDB-3087 . The issue was commands getting enqueued out of order chronologically. Although that can't happen in a 1 PDB node setup, it can happen in an HA scenario. Consider 3 catalogs for node 'foo.com'. Catalog 1 is collected at T1, catalog 2 at T2 and catalog 3 at T3. We have two PuppetDB instances, X and Y.

PDB X gets and stores catalog 1.

PDB X has catalog 3 enqueued (but not yet stored).

PDB Y gets and stores catalog 2.

PDB Y replicates with PDB X, causing catalog 2 to be enqueued in PDB X. With the logic we have today, catalog 2 would overwrite catalog 3, which is newer.

The correct behavior here is to use the producer timestamp, rather than the time the message was received.

This will involve adding producer timestamp to the message header (i.e. POST param) and using that to determine which catalog/factset is newer.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Ryan Senior (JIRA)

unread,
Nov 2, 2016, 9:45:04 AM11/2/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: SE 2016-11- 16 30

Ryan Senior (JIRA)

unread,
Nov 16, 2016, 2:56:03 PM11/16/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: SE 2016-11-30

Ryan Senior (JIRA)

unread,
Nov 16, 2016, 2:56:04 PM11/16/16
to puppe...@googlegroups.com
Ryan Senior updated an issue
Change By: Ryan Senior
Sprint: SE 2016-12-14

Ryan Senior (JIRA)

unread,
Nov 16, 2016, 2:57:02 PM11/16/16
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Nov 30, 2016, 8:30:06 AM11/30/16
to puppe...@googlegroups.com

Karen Van der Veer (JIRA)

unread,
Dec 14, 2016, 1:22:06 PM12/14/16
to puppe...@googlegroups.com
Karen Van der Veer updated an issue
Change By: Karen Van der Veer
Sprint: SE 2016-12-14 , SE 2017-01-11

Karen Van der Veer (JIRA)

unread,
Jan 11, 2017, 1:06:05 PM1/11/17
to puppe...@googlegroups.com
Karen Van der Veer updated an issue
Change By: Karen Van der Veer
Sprint: SE 2016-12-14, SE 2017-01-11 , SE 2017-01-25

Karen Van der Veer (JIRA)

unread,
Jan 25, 2017, 1:06:07 PM1/25/17
to puppe...@googlegroups.com
Karen Van der Veer updated an issue
Change By: Karen Van der Veer
Sprint: SE 2016-12-14, SE 2017-01-11, SE 2017-01-25 , SE 2017-02-08

Russell Mull (JIRA)

unread,
Apr 4, 2017, 6:49:06 PM4/4/17
to puppe...@googlegroups.com
Russell Mull updated an issue
Change By: Russell Mull
Fix Version/s: PDB 4.4.z

Claudia Petty (Jira)

unread,
Jun 21, 2023, 10:56:08 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