Commit 924837c1 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix ALTER SYSTEM transaction and connection tracking issues

- Add query_no_return_autocommit() method for commands that cannot run
  inside a transaction block (like ALTER SYSTEM)
- Make admin_db connection lazy (created on first use) to avoid being
  captured in active_connections_before snapshot at sync startup
- Revert incorrect fix that refreshed connections after closing admin_db
  (was capturing massive sync connections)

This fixes both the 'ALTER SYSTEM cannot run inside a transaction block'
error and the connection check assertion failure.
parent becc61ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment