Opened 16 years ago

Closed 16 years ago

#4 closed defect (fixed)

Database connections are not reloaded after database restart

Reported by: ecprice Owned by: nelhage
Priority: minor Milestone:
Component: database Version:
Keywords: dns sqlalchemy Cc:

Description

SQLAlchemy does not seem to support automatic reconnection if the database connection closes for some reason, like a database restart.

This can be worked around, but it would be nice not to need to.

In particular, this will break the dns server code.

Change History (2)

comment:1 Changed 16 years ago by ecprice

  • Component changed from autoinstallers to database
  • Owner changed from price to nelhage

comment:2 Changed 16 years ago by ecprice

  • Resolution set to fixed
  • Status changed from new to closed

This has been worked around in dhcp and dns, which are the only persistent processes. It would be nice to fix this at a lower level, but that seems impossible with current sqlalchemy.

Note: See TracTickets for help on using tickets.