dlz connections not dropped during reload call
Summary
When reloading daemon with reload
argument, DLZ driver creates new connections without dropping old ones.
BIND version used
BIND 9.12.3
Steps to reproduce
- Run bind with DLZ PostgreSQL zones
- Check the count of connections in Postgre
SELECT count(*) FROM pg_catalog.pg_stat_activity;
- Run
rndc reload
- Check again count of connections
What is the current bug behavior?
New connections are created, equal to the sum of connections set in each view for DLZ. Old ones are not dropped.
What is the expected correct behavior?
Drop old connections when reloading views.