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

Add connection init check to Hikari pools

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: PDB 6.10.0, PDB 5.2.14
    • Component/s: None
    • Labels:
      None
    • Template:
    • Acceptance Criteria:
      • read/write pools have a connectionInitSql check on the migration version
      • Add periodic check on the migration version, exit 3 if it doesn't match
    • Team:
      HA
    • Story Points:
      1
    • Sprint:
      HA Team 2020-03-11, HA Team 2020-03-25
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      PuppetDB should only create, connect, or use its HikariCP read/write pools if the schema_migrations version matches the expected schema, otherwise the data has changed out from under it.

        Attachments

          Activity

            People

            Assignee:
            zachary.kent Zachary Kent
            Reporter:
            austin.blatt Austin Blatt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support