Jira (PDB-5021) Investigate factsets getting repeatedly pulled in sync with benchmark data

0 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Zachary Kent (Jira)

ungelesen,
10.02.2021, 14:00:0310.02.21
an puppe...@googlegroups.com
Zachary Kent created an issue
 
PuppetDB / Bug PDB-5021
Investigate factsets getting repeatedly pulled in sync with benchmark data
Issue Type: Bug Bug
Assignee: Unassigned
Created: 2021/02/10 10:59 AM
Priority: Normal Normal
Reporter: Zachary Kent

Fill out the description after sprint planning. 

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

Zachary Kent (Jira)

ungelesen,
10.02.2021, 14:19:0210.02.21
an puppe...@googlegroups.com

Zachary Kent (Jira)

ungelesen,
10.02.2021, 14:19:0310.02.21
an puppe...@googlegroups.com

Zachary Kent (Jira)

ungelesen,
16.02.2021, 14:58:0416.02.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Fill Testing sync's memory usage with the new non-lazy approach I noticed that factsets were being repeatedly pulled on every sync run. Austin was able to reproduce this behavior on his machine using the following steps:
    - set up a local sync pair using pe-pdbbox and Austin's helper pdb script (sync-1 & sync-2)
    - stop sync-2
    - load benchmark data into sync-1
    - restart sync-2

Once initial sync runs we observed that periodic sync would continue to pull factsets in both directions. sync-1 would pull ~20 factsets
out of 2,000 where sync-2 would pull ~1,000 out of 2,000. We saw similar behavior once before at a customer's site, but in that case it was only transferring a handful of factsets and the description issue appeared to resolve itself after sprint planning a while in the logs .

I'm wondering if this can be caused if a factset is first ingested via sync and not from the normal command ingestion path. That could help explain why we saw a similar issue at a customer that looked like got resolved after a bit of time.   

Example of what we saw in the debug logs for sync when it was repeatedly pulling factsets:
{code:java}
2021-02-05 16:02:29,948 DEBUG [clojure-agent-send-off-pool-0] [p.p.s.core] Identified remote factset (host-1574 2021-02-06T00:00:05.374Z a657a432359dcd750c7df412d51a67570e9190a4) to sync due to local factset (host-1574 2021-02-06T00:00:05.374Z 23d9f61d312f3b72b46bf6a7974f8698ac9f9abd)
{code}

  You can see in the example above that the hash used to compare the contents of factsets in the sync summary query didn't line up which caused the sync-2 side to repeatedly pull the factsets.

We should investigate this issue and figure out how exactly can happen and see if there is a way to mitigate it in pe-puppetdb sync.

Zachary Kent (Jira)

ungelesen,
16.02.2021, 15:00:0416.02.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Acceptance Criteria: * Create an isolated reproduction case that shows how sync got mismatched hashes for the same factset
* Create a ticket for any follow on work to address the issues found during this investigation

Zachary Kent (Jira)

ungelesen,
24.02.2021, 14:22:0224.02.21
an puppe...@googlegroups.com

Eric Thompson (Jira)

ungelesen,
24.02.2021, 14:26:0224.02.21
an puppe...@googlegroups.com

Eric Thompson (Jira)

ungelesen,
24.02.2021, 14:26:0424.02.21
an puppe...@googlegroups.com

Zachary Kent (Jira)

ungelesen,
10.03.2021, 14:23:0110.03.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Sprint: HA 2020-02-24, HA 2020-03-10 , HA 2020-03-24

Zachary Kent (Jira)

ungelesen,
10.03.2021, 14:30:0210.03.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Sprint: HA 2020-02-24, HA 2020-03-10 HAHA/Grooming , HA 2020-03- 24 10

Eric Thompson (Jira)

ungelesen,
24.03.2021, 14:41:0324.03.21
an puppe...@googlegroups.com
Eric Thompson updated an issue
Change By: Eric Thompson
Sprint: HA 2020-02-24, HAHA/Grooming, HA 2020-03-10 , HA 2020-04-07

Zachary Kent (Jira)

ungelesen,
07.04.2021, 14:14:0307.04.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Sprint: HA 2020-02-24, HA 2020-03-10, HA 2020-04-07 , HA 2020-04-21
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Zachary Kent (Jira)

ungelesen,
15.04.2021, 11:29:0215.04.21
an puppe...@googlegroups.com

Zachary Kent (Jira)

ungelesen,
20.04.2021, 17:23:0320.04.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Fix Version/s: PDB 6.16.2
Fix Version/s: PDB 7.3.2

Zachary Kent (Jira)

ungelesen,
21.05.2021, 15:57:0221.05.21
an puppe...@googlegroups.com
Zachary Kent updated an issue
Change By: Zachary Kent
Fix Version/s: PDB 7.3.2
Fix Version/s: PDB 7.4.0

Austin Blatt (Jira)

ungelesen,
17.06.2021, 17:15:0117.06.21
an puppe...@googlegroups.com

Austin Blatt (Jira)

ungelesen,
22.06.2021, 16:50:0122.06.21
an puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Release Notes Summary: Fixed an issue causing unecessary factset sync
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten