Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-121

Archiver needs to handle database restarts

    XMLWordPrintable

    Details

      Description

      The archiver lost its connection to the database, due to a (security?) update made to the database server. I don't think it ever tried to reconnect, but kept caching new rows after the failure in the attached log segment.

      I don't think there is a trivial way to restart, but the hint at https://github.com/psycopg/psycopg2/issues/419 is probably good enough to implement from.

        Attachments

          Activity

            People

            • Assignee:
              cloomis cloomis
              Reporter:
              cloomis cloomis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: