Jira (PDB-3278) Recieved time should be left as an object for the CommandRef

1 view
Skip to first unread message

Ryan Senior (JIRA)

unread,
Jan 26, 2017, 9:40:02 AM1/26/17
to puppe...@googlegroups.com
Ryan Senior created an issue
 
PuppetDB / Task PDB-3278
Recieved time should be left as an object for the CommandRef
Issue Type: Task Task
Assignee: Unassigned
Created: 2017/01/26 6:39 AM
Labels: maintenance
Priority: Normal Normal
Reporter: Ryan Senior

Switch the queue code to leave the received timestamp as an object, rather than converting it to a string before enqueueing it in the channel.

A recent change added another timestamp field to the header (producer timestamp) and having the timestamp as a string was bad for that field as it can't be compared with other timestamps unless it's re-parsed. Now the CommandRef is inconsistent in that it has one string timestamp (received) and one object timestamp (producer). Having received as an object is more useful, consistent and is probably more efficient.

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

Ryan Senior (JIRA)

unread,
Mar 9, 2017, 4:39:12 PM3/9/17
to puppe...@googlegroups.com

Ryan Senior (JIRA)

unread,
Mar 22, 2017, 7:11:02 PM3/22/17
to puppe...@googlegroups.com

Russell Mull (JIRA)

unread,
Jul 24, 2017, 12:31:03 PM7/24/17
to puppe...@googlegroups.com

Zachary Kent (Jira)

unread,
Feb 17, 2021, 3:08:04 PM2/17/21
to puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Labels: maintenance needs-investigation
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages