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

Only uses Postgres master when querying metrics

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB 3.2.3
    • Fix Version/s: PDB 3.2.4
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2016-02-24

      Description

      In PuppetDB 3 the code that initialises the metrics endpoints is wired to always talk to the write db causing all those queries to be fired at the master instead of leveraging read replica's when available.

      https://github.com/puppetlabs/puppetdb/blob/stable/src/puppetlabs/puppetdb/cli/services.clj#L245

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                daenney Daniele Sluijters
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: