1. 01 Mar, 2018 1 commit
    • Thomas Markwalder's avatar
      [5477] kea-dhcp6 now supports db reconnect · 78b8edb6
      Thomas Markwalder authored
          kea-dhcp6
              added support for max-reconnect-tries and reconnect-wait-time
              to lease and host db parsers
      
              Added a callback for when DB backends detect loss of connectivity
      
              Added a self-rescheduling method to attempt to reconnect to the
              backends if retries are enabled
      
          dhcpsrv
              PgSqlConnection::checkStatementError() - Modified "fatal" logic
              to throw after invoking db_lost_callback.
      
          Misc. cleanup
      78b8edb6
  2. 28 Feb, 2018 1 commit
    • Thomas Markwalder's avatar
      [5477] dhcpsrv/postgres and kea-dhcp4 now support db reconnect · 249219f1
      Thomas Markwalder authored
      kea-dhcp4
          added support for max-reconnect-tries and reconnect-wait-time
          to lease and host db parsers
      
          Added a callback for when DB backends detect loss of connectivity
      
          Added a self-rescheduling method to attempt to reconnect to the
          backends if retries are enabled
      
      dhcpsrv
          Added a callback that DatabaseConnection derivations should invoke
          when they lose connectivity.
      
          Added an optional callback parameter from CfgDbAccess::createManagers()
          all the way down to DatabaseConnection ctor.
      
          pgsql_connection.cc
              PgSqlConnection::~PgSqlConnection() - Added logic to close the
              connection only when the connect state is still OK.
              Otherwise it likes to core dump.
      
              PgSqlConnection::checkStatementError() - Modified to invoke the
              connectivity lost callback on "fatal" errors
      
          pgsql_lease_mgr_unittest.cc
          pgsql_host_data_source_unittest.cc
              Added tests to verify that the lost callback is NOT invoked on an
              open failure
      249219f1
  3. 16 Jan, 2018 3 commits
  4. 15 Jan, 2018 5 commits
  5. 12 Jan, 2018 7 commits
  6. 11 Jan, 2018 4 commits
  7. 10 Jan, 2018 4 commits
  8. 09 Jan, 2018 2 commits
  9. 08 Jan, 2018 3 commits
  10. 01 Jan, 2018 1 commit
  11. 31 Dec, 2017 7 commits
  12. 30 Dec, 2017 1 commit
  13. 29 Dec, 2017 1 commit