Details
Description
To limit start up time for PuppetDB replicas, we need to limit the amount of data that is transferred.
Currently we sync
- Catalogs
- Factsets
- Reports
- Node deactivation
- Catalog Inputs (for cd4pe)
By far the two largest sets of data are reports and catalog inputs, so I think that initial sync should be limited to the following to ensure a somewhat fast startup time.
- Catalogs
- Factsets
- Node deactivation
The most commonly suggested modification to this list is to also sync only the latest reports. I haven't heard a reason to spend startup time syncing the latest report for a replica PuppetDB because all the time PDB spends in startup sync it is drifting out of alignment. If someone has a good reason that a replica PuppetDB should have the latest reports when it starts up, I would be happy to add that to the list of things to sync.
Attachments
Issue Links
- is duplicated by
-
PDB-4603 PuppetDB requires all tables to be sync after DB restart
-
- Closed
-