Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-5378

Don't traverse all reports when deactivating a node

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PDB 6.20.0, PDB 7.9.0, 7.15.0
    • PuppetDB
    • None
    • HA
    • HA 2021-12-01, HA 2021-12-15, HA 2022-01-05, HA 2022-01-19
    • Needs Assessment
    • Enhancement
    • Improved the speed of node deactivation
    • Needs Assessment

    Description

      Right now, if you try to deactivate a certname that doesn't exist, puppetdb issues a query that traverses (scans) all the report partitions looking for the latest report timestamp in a row it will never find.  We already have that information in the certnames table, so don't do that.

      Attachments

        Issue Links

          Activity

            People

              austin.blatt Austin Blatt
              rob.browning Rob Browning
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support