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

Don't unconditionally retry queries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 6.14.0, PDB 7.0.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      PuppetDB
    • Story Points:
      3
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      PuppetDB no longer retries queries internally, suppressing some transient connection errors. Instead, it will return an error code more immediately. For the moment, the previous behavior can be restored by setting the PDB_USE_DEPRECATED_QUERY_STREAMING_METHOD environment variable. See the [configuration information](https://puppet.com/docs/puppetdb/latest/configure.html#experimental-environment-variables) for further details.
      Show
      PuppetDB no longer retries queries internally, suppressing some transient connection errors. Instead, it will return an error code more immediately. For the moment, the previous behavior can be restored by setting the PDB_USE_DEPRECATED_QUERY_STREAMING_METHOD environment variable. See the [configuration information]( https://puppet.com/docs/puppetdb/latest/configure.html#experimental-environment-variables ) for further details.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Right now, when streaming queries, we automatically retry up to 5 times, but we definitely shouldn't retry if we've already begun streaming the result to the client.

        Attachments

          Activity

            People

            Assignee:
            rob.browning Rob Browning
            Reporter:
            rob.browning Rob Browning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support